New Post: Using non-standerd Foreign Key navigation property
I am using EF 6.1 Code first against an existing database and I am trying to change the column that is being used to configure a navigation. Here is a shortened version of my model:public class...
View ArticleNew Post: DbModel StoreItemCollection and EdmFunction (Code First 6.0.1)
Hi, Halo_Four: Would you like share your code with us? thanks a lot!
View ArticleNew Post: Inconsistent creation of default constraints
For a project I use EF 6, a Code First model and Migrations. During some testing that involved migrating to an earlier version of the database, I got an error due to a default constraint in SQL Server....
View ArticleNew Post: Custom Sql migration generator migration error
I wrote an sql migration generator for EF 6 and Postgresql. It is not complete but I tried to run it and after had execute a couple of migrations correctly, it give to me the error below. I haven't...
View ArticleNew Post: Dropdown List
Hi everybody. I have this: Controller: [code] public ActionResult Index() { //var cats = faqCategorieService.GetAll().ToList(); var categories = faqCategorieService.GetAll().OrderBy(x => x.Naam)...
View ArticleNew Post: Inconsistent creation of default constraints
Hey, We create the default constraint when you use AddColumn to deal with any existing rows in the database. For example, if you and an int based column to the table then we would set a default value...
View ArticleNew Post: Using non-standerd Foreign Key navigation property
Hey Chris, EF only supports having foreign keys that target the primary key of the principal entity. Since WorkflowRow.FamilyId isn't the primary key it can't be the target of a foreign key. Here is...
View ArticleNew Post: Using non-standerd Foreign Key navigation property
In my case the Document.FamilyId isn't unique. Multiple Documents can have the same FamilyId, and each of those should point to the same set of WorkflowRows. I am currently attempting to create some...
View ArticleNew Post: Error 3034: splitting an entity
I have a simple issue (I think). I'm getting Error 3034: Problem in mapping fragments starting at lines ... I have a table with a bunch of fields. no associations (currently) to other tables. This...
View ArticleNew Post: Plans to improve bulk insert perf?
I've been really enjoying using EF lately but run into problems when I need to insert (or, less commonly, update) a lot of items. I know this is an issue that has come up in the past, but the forums...
View ArticleNew Post: EF6 user defined function with Fluent API/Code First
AFAIK, Code First does not currently support UDF's. However, this will probably appear in a future release:"The plan is to add support in Code First for all the same kind of functions that are...
View ArticleNew Post: Typed Version of ObjectParameter
@ploring At first glance I don't see any reason why we couldn't use a generic ObjectParameter object, so this is something we might consider taking if you contributed the code. Rather than calling the...
View ArticleNew Post: EF 61.1. throws ArgumentNullException for connection parameter...
We recently upgraded EntityFramework version from EF5 to EF6.1.1. We updated the assemblies and also the namespaces as required. But now randomly we are getting ArgumentNullException for connection...
View ArticleNew Post: EF 61.1. throws ArgumentNullException for connection parameter...
@lax4u Is it possible that the same context instance is being used by multiple threads concurrently, or that multiple context instances are using the same EntityConnection and are trying to dispose it...
View ArticleNew Post: EF 61.1. throws ArgumentNullException for connection parameter...
Thanks for your reply We haven't changed any framework logic, We removed the references of EF 5 & System.Data.Enity assembly and add reference to EF 6.1.1. assembly And then updated namespaces...
View ArticleNew Post: Supported databases for Entity Framework 6.0
which all databases are supported previously by Entity Framework and which all supported now. Anyone have project demo for EF 6.0 and Postgres
View ArticleNew Post: EF 61.1. throws ArgumentNullException for connection parameter...
@lax4u I understand that EF6 is behaving differently for you with otherwise unchanged code. One possible reason for this is multi-threaded code that is behaving differently under EF6 than it did...
View ArticleNew Post: [Table] and [Column] apparently ignored
I posted this questionhttp://stackoverflow.com/questions/24918406/ef6-ignoring-table-and-column-in-entity-classes and perhaps did the wrong thing by marking it answered before seeing anything from the...
View ArticleNew Post: [Table] and [Column] apparently ignored
Hi JMerrill, Hard to tell. At first glance from reading your question it seemed to me that you were using and EMDX file and that would explain the behavior (for EDMX we use the mapping specification in...
View ArticleNew Post: [Table] and [Column] apparently ignored
I guess you should close this. I created a brand-new console app project, copied in the Model and PhoneData .cs files (not the , and wrote a quick thing to try it out, working with a new empty...
View Article