EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the...

Results 149 EntityFramework-Reverse-POCO-Code-First-Generator issues
Sort by recently updated
recently updated
newest added

Properties for period columns in a temporal table is generated when it's hidden ```sql CREATE TABLE Department ( DeptID INT NOT NULL PRIMARY KEY CLUSTERED , DeptName VARCHAR(50) NOT NULL...

To investigate

When model binding a string with empty string the value is set to null since string is a reference type. When the column is set to not null/required the ModelState...

We moved the EF from CodeFirstDatabase to your POCO Generator. One issue we have left is how EF creates the "HasDescriminator" when the code has say this Table: Address Columns:...

enhancement

Hi Simon. A real amazing work. How can I decorate a base class with abstract in a Table per Type (TPT) pattern (e.g.) or generate virtual methods?

enhancement

Add computed columns SQL, so that migrations can fully create the database elsewhere. See [MSDN](https://docs.microsoft.com/en-us/ef/core/modeling/generated-properties?tabs=data-annotations#computed-columns) ```c# protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity() .Property(p => p.DisplayName) .HasComputedColumnSql("[LastName] + ', '...

enhancement

```csharp var userClimColumns = new List { "Id", "UserId","ClaimType","ClaimValue"}; if (userClimColumns .Contains(column.NameHumanCase) && table.NameHumanCase=="Security_UserClaim") { column.Hidden = true; column.ExistsInBaseClass = true; } ``` ![1](https://user-images.githubusercontent.com/80021124/113030877-e7eefb80-9142-11eb-9260-caeca216a19b.png)

question

lets say I have a table ( Ef6, .net framework 4.8 ) [foo].[Bar] where schema is "foo" and the table is "Bar" How can I change the class files produced...

enhancement

I have a MSSQL stored procedure that has the parameter. `@GeoLocation geography = null` Poco is generating the following: ```c# var geoLocationParam = new SqlParameter { ParameterName = "@GeoLocation", UdtTypeName...

bug

`AddExtendedPropertiesToFilters(DatabaseReader.ReadExtendedProperties());` is called after AddTablesToFilters (which calls UpdateColumn), so when the Settings.UpdateColumn delegate is called column.ExtendedProperties is null, so the following example in database.tt won't work: ``` // Use the...

bug