Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Browsing all 1642 articles
Browse latest View live
↧

New Post: differences in generated classes

When running the T4 template (Database.tt), some of our team members get classes generated with constructors that set default values for boolean/bit properties/columns, while some get constructors that...

View Article


New Post: StoredProcedure.CheckNullable()

Does this make sense, so that we don't have to update the NotNullable collection? public static string CheckNullable(DataColumn col) { string result = string.Empty; result = (col.AllowDBNull &&...

View Article


Edited Unassigned: Bug when view contains period character? [163]

Hi there.I have a view name EGData.Bolig.CreditorOpenInvoicesI have tried using renaming to fix namespace related issues. TableRename = (name, schema) =>{ return name.Replace(".Bolig.", "");};When...

View Article

Commented Unassigned: Bug when view contains period character? [163]

Hi there.I have a view name EGData.Bolig.CreditorOpenInvoicesI have tried using renaming to fix namespace related issues. TableRename = (name, schema) =>{ return name.Replace(".Bolig.", "");};When...

View Article

New Post: StoredProcedure.CheckNullable()

I've tested it against my test database and it didn't make any difference, i.e. the generated code was the same as before. Is there a missing entry in the NotNullable collection ?

View Article


New Post: How do I stop this table from being pluralized?

Try doing both of these:new CustomPluralizationEntry("Settings_TAS", "Settings_TAS") TableRename = (name, schema) => { return name.Replace("_TAS", "_Tas"); };

View Article

New Post: differences in generated classes

Those defaults are picked up from the extended properties in your database. Here are your extended properties:SELECT s.name AS [schema], t.name AS [table], c.name AS [column], value AS [property] FROM...

View Article

New Post: StoredProcedure.CheckNullable()

Yeah object was missing. Sent via the Samsung GALAXY S®4 Active™, an AT&T 4G LTE smartphone

View Article


New Post: Views - LeftJoin - PrimaryKey(s)

Hi Mathias, EF won't work with any view/table without a primary key. Because you are joining to the dbo.OrderDetail, the dbo.[Order].Id will be duplicated for every row of order details, and therefore...

View Article


New Post: StoredProcedure.CheckNullable()

I've made a few changes. See this changeset. Can you let me know if this works for you guys?

View Article

Commented Unassigned: Filtering of "Navigation Properties" [157]

When building objects and thinking about DDD and aggregate boundaries, one often might choose to deliberately NOT have a full-on navigation property between aggregates, and only keep the ID of the...

View Article

Commented Unassigned: Bug when view contains period character? [163]

Hi there.I have a view name EGData.Bolig.CreditorOpenInvoicesI have tried using renaming to fix namespace related issues. TableRename = (name, schema) =>{ return name.Replace(".Bolig.", "");};When...

View Article

New Post: StoredProcedure.CheckNullable()

I'll pull here in a minute and check it out

View Article


New Post: differences in generated classes

Would the values in INFORMATION_SCHEMA be the same things that you find in the table designer ? I believe that the person who has different info in his constructors has the same database defaults (e.g....

View Article

Source code checked in, #65a878759633

Case 163. Handle views and table names with periods.

View Article


Source code checked in, #ece0f476f4bf

Changed NotNullable to be List<string> and include object.

View Article

New Post: Views - LeftJoin - PrimaryKey(s)

Hi Simon, thanks for clarifying this. Best regards Mathias

View Article


New Post: differences in generated classes

It will not matter what version of visual studio he has as the generator uses its own SQL it fires at the database, and does not use any visual studio properties apart from being able to scan for a...

View Article

Source code checked in, #dac870974d3d

Include System.Collections.Generic if generating stored procedures.

View Article

Source code checked in, #53058ae7c258

Finally sorted out Stored Procedure generation.

View Article
Browsing all 1642 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>