Skip to content

Commit

Permalink
Revision bump
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh37 committed Apr 4, 2019
1 parent 4b8c7bb commit 5d85158
Show file tree
Hide file tree
Showing 21 changed files with 164 additions and 164 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.37.3.0")]
[assembly: AssemblyFileVersion("2.37.3.0")]
[assembly: AssemblyVersion("2.37.4.0")]
[assembly: AssemblyFileVersion("2.37.4.0")]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="2.37.3" Language="en-US" Publisher="Simon Hughes" />
<Identity Id="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="2.37.4" Language="en-US" Publisher="Simon Hughes" />
<DisplayName>EntityFramework Reverse POCO Generator</DisplayName>
<Description xml:space="preserve">Reverse engineers an existing database and generates EntityFramework Code First POCO classes, Configuration mappings and DbContext.</Description>
<MoreInfo>https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator</MoreInfo>
Expand Down
44 changes: 22 additions & 22 deletions EntityFramework.Reverse.POCO.Generator/Database NorthwindSqlCe40.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface IMyDbContextSqlCE4 : System.IDisposable

#region Database context

[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class MyDbContextSqlCE4 : System.Data.Entity.DbContext, IMyDbContextSqlCE4
{
public System.Data.Entity.DbSet<Category> Categories { get; set; } // Categories
Expand Down Expand Up @@ -157,7 +157,7 @@ public MyDbContextSqlCE4 Create()

#region Fake Database context

[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class FakeMyDbContextSqlCE4 : IMyDbContextSqlCE4
{
public System.Data.Entity.DbSet<Category> Categories { get; set; }
Expand Down Expand Up @@ -263,7 +263,7 @@ public override string ToString()
// }
// }
// Read more about it here: https://msdn.microsoft.com/en-us/data/dn314431.aspx
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class FakeDbSet<TEntity> : System.Data.Entity.DbSet<TEntity>, IQueryable, System.Collections.Generic.IEnumerable<TEntity>, System.Data.Entity.Infrastructure.IDbAsyncEnumerable<TEntity> where TEntity : class
{
private readonly System.Reflection.PropertyInfo[] _primaryKeys;
Expand Down Expand Up @@ -399,7 +399,7 @@ System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TEntity> System.Data.Entity
}
}

[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class FakeDbAsyncQueryProvider<TEntity> : System.Data.Entity.Infrastructure.IDbAsyncQueryProvider
{
private readonly IQueryProvider _inner;
Expand Down Expand Up @@ -449,7 +449,7 @@ public System.Threading.Tasks.Task<TResult> ExecuteAsync<TResult>(System.Linq.Ex
}
}

[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class FakeDbAsyncEnumerable<T> : EnumerableQuery<T>, System.Data.Entity.Infrastructure.IDbAsyncEnumerable<T>, IQueryable<T>
{
public FakeDbAsyncEnumerable(System.Collections.Generic.IEnumerable<T> enumerable)
Expand All @@ -476,7 +476,7 @@ IQueryProvider IQueryable.Provider
}
}

[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class FakeDbAsyncEnumerator<T> : System.Data.Entity.Infrastructure.IDbAsyncEnumerator<T>
{
private readonly System.Collections.Generic.IEnumerator<T> _inner;
Expand Down Expand Up @@ -512,7 +512,7 @@ object System.Data.Entity.Infrastructure.IDbAsyncEnumerator.Current
#region POCO classes

// Categories
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Category
{
public int CategoryId { get; set; } // Category ID (Primary key)
Expand All @@ -534,7 +534,7 @@ public Category()
}

// Customers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Customer
{
public string CustomerId { get; set; } // Customer ID (Primary key) (length: 5)
Expand Down Expand Up @@ -563,7 +563,7 @@ public Customer()
}

// Employees
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Employee
{
public int EmployeeId { get; set; } // Employee ID (Primary key)
Expand Down Expand Up @@ -597,7 +597,7 @@ public Employee()
}

// Orders
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Order
{
public int OrderId { get; set; } // Order ID (Primary key)
Expand Down Expand Up @@ -646,7 +646,7 @@ public Order()
}

// Order Details
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class OrderDetail
{
public int OrderId { get; set; } // Order ID (Primary key)
Expand All @@ -669,7 +669,7 @@ public class OrderDetail
}

// Products
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Product
{
public int ProductId { get; set; } // Product ID (Primary key)
Expand Down Expand Up @@ -710,7 +710,7 @@ public Product()
}

// Shippers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Shipper
{
public int ShipperId { get; set; } // Shipper ID (Primary key)
Expand All @@ -730,7 +730,7 @@ public Shipper()
}

// Suppliers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class Supplier
{
public int SupplierId { get; set; } // Supplier ID (Primary key)
Expand Down Expand Up @@ -763,7 +763,7 @@ public Supplier()
#region POCO Configuration

// Categories
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class CategoryConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Category>
{
public CategoryConfiguration()
Expand All @@ -784,7 +784,7 @@ public CategoryConfiguration(string schema)
}

// Customers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class CustomerConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Customer>
{
public CustomerConfiguration()
Expand Down Expand Up @@ -812,7 +812,7 @@ public CustomerConfiguration(string schema)
}

// Employees
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class EmployeeConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Employee>
{
public EmployeeConfiguration()
Expand Down Expand Up @@ -845,7 +845,7 @@ public EmployeeConfiguration(string schema)
}

// Orders
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class OrderConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Order>
{
public OrderConfiguration()
Expand Down Expand Up @@ -881,7 +881,7 @@ public OrderConfiguration(string schema)
}

// Order Details
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class OrderDetailConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OrderDetail>
{
public OrderDetailConfiguration()
Expand All @@ -907,7 +907,7 @@ public OrderDetailConfiguration(string schema)
}

// Products
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class ProductConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Product>
{
public ProductConfiguration()
Expand Down Expand Up @@ -939,7 +939,7 @@ public ProductConfiguration(string schema)
}

// Shippers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class ShipperConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Shipper>
{
public ShipperConfiguration()
Expand All @@ -958,7 +958,7 @@ public ShipperConfiguration(string schema)
}

// Suppliers
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.3.0")]
[System.CodeDom.Compiler.GeneratedCode("EF.Reverse.POCO.Generator", "2.37.4.0")]
public class SupplierConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Supplier>
{
public SupplierConfiguration()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ include file="EF.Reverse.POCO.Core.ttinclude" #>
<#
// v2.37.3
// v2.37.4
// Please make changes to the settings below.
// All you have to do is save this file, and the output file(s) is/are generated. Compiling does not regenerate the file(s).
// A course for this generator is available on Pluralsight at https://www.pluralsight.com/courses/code-first-entity-framework-legacy-databases
Expand Down
Loading

0 comments on commit 5d85158

Please sign in to comment.