New Post: Designer with multiple diagrams
Hi, we are using the designer for our database with 300+ tables, which makes the designer a nearly helpless tool because it isn't manageable anymore. It would be great, if the designer could be divided...
View ArticleNew Post: Code First Insert/Update/Delete Stored Procedure Mapping for Other...
Hi Pakorasu Do you mean scaffolding of sprocs or actual execution? If you mean execution, you need to handle translation of DbFunctionCommandTrees inside your implementation of...
View ArticleNew Post: Designer with multiple diagrams
Hello KVerwold, Thanks for reaching out to us. Having multiple diagrams in the same EDMX file has been supported since EF5 and the version of the designer that shipped with Visual Studio 2012 RTM. To...
View ArticleNew Post: Code First Insert/Update/Delete Stored Procedure Mapping for Other...
Hello Andrew. Thanks for your reply. I meant scaffolding, thanks for telling me the class that I should use, and also for your contact info. Thanks for your time.
View ArticleNew Post: Designer with multiple diagrams
Hi Diegothanks for your fast response. I didn't know, that multiple diagrams are already supported in EF5, because we cannot update to EF5 right know due to many our customers still using Windows XP....
View ArticleNew Post: EF6: Can't get async operations to work with CancellationToken...
Hello Staeff, I replied to your SO question. Basically we are currently relying on SqlCommand and SqlDataReader to cancel the execution of the query, but those won't always honor cancellation requests,...
View ArticleNew Post: Support for ROWGUID and FILEGROUP/Partition in Migrations
On some existing solutions currently not using Entity Framework we are working with ROWGUID attributes designating the ROWGUIDCOL uniqueidentifier column on a table, as well as FILEGROUP specifications...
View ArticleNew Post: set db parameters of db context at runtime
hi all, I created a new database model .edmx inside visual studio 2013 using ef 6 beta 1 importing from an existing database. The dbcontext that is created when the model is saved contains the...
View ArticleNew Post: CA1709 Code Analysis Errors
I've cloned Entity Framework from the master branch this morning but when building I get CA1709 code analysis errors stating that types should begin with DB instead of Db. To work around this I've...
View ArticleNew Post: set db parameters of db context at runtime
You may want to take a look at the EntityConnectionStringBuilder. Pawel
View ArticleNew Post: CA1709 Code Analysis Errors
Are you Building from the VS 2012 command prompt https://entityframework.codeplex.com/documentation
View ArticleNew Post: CA1709 Code Analysis Errors
I'm running the Build.cmd from the root folder within a "Developer Command Prompt for VS2012" (Administrator or not). Here is the start of the output (after changing the CA1709 from error to...
View ArticleNew Post: Mapping to abstract class TPH can't use single FK for derived class
@andreabelloni I don't think that EF supports the mapping that you are trying to make. One problem is that the same navigation property, defined on A, is being used for two different relationships: B...
View ArticleNew Post: Default memebership DB using code first AppMVC4 .Net4 in VS 2012
Hello, I am trying to add tables to the Membership .mdf and classes to the AccountModel generated by VS2012, does anyone have any experience in doing that. I tried to add a Comments table with...
View ArticleNew Post: Designer with multiple diagrams
@KVerwold, I just wanted to point out that Visual Studio 2012 and EF5 can both be used to target .NET 4 applications. Thanks, Arthur
View ArticleNew Post: set db parameters of db context at runtime
@lucamorelli To add to what Pawel said, you don't need to modify the .tt file in order to add a second constructor. You can instead just use the partial class feature to define the second constructor...
View ArticleNew Post: CA1709 Code Analysis Errors
@MichaelPoettge You will likely need to use the "VS2012 x86 Native Tools Command Prompt" instead of just the developer command prompt, as described in the instructions referenced by Erik. If this still...
View ArticleNew Post: CA1709 Code Analysis Errors
I've read a bit about the CA1709 and how to avoid it. Having read that I do believe that FxCop is right about flagging this as an error, because there are no casing exceptions defined for the acronyms...
View ArticleNew Post: View generation speed
Not for EF6. For EF5 and earlier you can use EdmGen.exe form the developer command prompt.
View ArticleNew Post: Constructor with connection string in generated entity
This is a feature that I would love to have. This is about the class that gets generated and usually resides in the file named DataModelName.Context.cs and inherits DbContext. At the moment, there's...
View Article