New Post: Table Exclude/Include
Maybe its just me, but the regex for include/exclude doesn't appear to work very well. I have a database schema that has quite a few hundred tables and a couple thousand stored procedures. I would like...
View ArticleNew Post: Table Exclude/Include
Nevermind. Close this. I figured it out. Duh. Don't need the $ or *.
View ArticleCreated Unassigned: DbContext: No new line after each property "public DbSet"...
When the tool generates a DBContext, it does not make new line after each property in it, so it will list all properties in one long line, e.g.: public DbSet<table1> table1s { get; set; } public...
View ArticleNew Post: Views with group by clause not generated
Hi, I am having a issue where the Views with Group by are not generated. Example: SELECT SUM(ISNULL(Amount, - 1)) AS Saving, MembersCode FROM dbo.ww_Savings GROUP BY MembersCode View with above...
View ArticleNew Post: Views with group by clause not generated
Hi, It will be because all the fields returned from the view will be __NULL__able, which is not allowed in entity framework. A simple fix will be to change the view to beSELECT SUM(ISNULL(Amount, - 1))...
View ArticleNew Post: Inserting same entity with different id.
I have a entity like this. class person { guid id; string name; } i have retrieved it from db. amended the name. and called savechanges() . changes are in the db. now I want to change id to new guid...
View ArticleNew Post: Inserting same entity with different id.
You cannot change the key. Therefore you need to delete the old record and create a new one.var old = db.Person.Where(x => ix.id == 'old guid here'); var p = new Person { id = 'new guid'; name =...
View ArticleUpdated Wiki: What's new
Whats coming in the next release:Fix bug: Stored Procedure with Nullable DateTime2 has invalid cast. Thanks toNeal Culiner.Mapping tables cannot include spaces in their name, so make them a regular...
View ArticleSource code checked in, #7d76344f0826
Implement fake functionality for SaveChangesAsync()
View ArticleCreated Unassigned: Database.CommandTimeout [153]
Reverse POCO Database.CommandTimeout destekleyebilir mi?
View ArticleEdited Unassigned: Database.CommandTimeout [153]
Could Reverse POCO support database.commandtimeout parameter?
View ArticleNew Post: DataAnnotations
Hi Cyrus, This project does not use data annotations, instead it uses configuration classes. There is no option to turn off the use of configuration classes and turn on data annotations. However, there...
View ArticleCommented Unassigned: DbContext: No new line after each property "public...
When the tool generates a DBContext, it does not make new line after each property in it, so it will list all properties in one long line, e.g.: public DbSet<table1> table1s { get; set; } public...
View ArticleSource code checked in, #607118f87a91
Case 148 DbContext: No new line after each property "public DbSet"
View ArticleEdited Issue: DbContext: No new line after each property "public DbSet" [148]
When the tool generates a DBContext, it does not make new line after each property in it, so it will list all properties in one long line, e.g.: public DbSet<table1> table1s { get; set; } public...
View ArticleCommented Issue: DbContext: No new line after each property "public DbSet" [148]
When the tool generates a DBContext, it does not make new line after each property in it, so it will list all properties in one long line, e.g.: public DbSet<table1> table1s { get; set; } public...
View ArticleNew Post: Stored Procedure Return Types not set to custom type for all stored...
Hi, You don't need to specify List. Use the following instead.StoredProcedureReturnTypes.Add("SearchPhotos", "SearchObject"); StoredProcedureReturnTypes.Add("SearchKeywords", "String");
View ArticleNew Post: Stored Procedure Return Types not set to custom type for all stored...
I'm still getting errors trying to use Stored Procedures that return multiple records (table valued stored procedure.) I tried without List<> but it puts String as a return type. Both stored...
View ArticleNew Post: DataAnnotations
"I guess the real question is, can we turn off a all the configuration class stuff that can be made into data annotations?" I'm not sure if it is an either or case here. I'm kinda thinking that we want...
View Article