I have and since CloudFile can be used by other classes, the cleanest solution seems to create an intermediate table called IssueFile. The thing is ...
I have and since CloudFile can be used by other classes, the cleanest solution seems to create an intermediate table called IssueFile. The thing is ...
The help for HasRequired states Configures a required relationship from this entity type. Instances of the entity type will not be able to be save ...
I have a model of my content: To display the data only the model above is fine. But I want to add the functionality to edit the content. So I need ...
I have an entity that excludes entities of the same type under certain conditions. In order to achieve this, I have an entity class like: This caus ...
I have two entity classes, Contact and User. The User has ContactID as foreign key to Contact. I can show relation of the User to Contact. Now i a ...
Entity Framework 6 Code First Migrations with Multiple Data Contexts NOTE: This is my first post on Stack Overflow so please let me know if I need t ...
I have a hierarchy of employees, which have boss and subordinates. I tried to configure it as follows: But the result of Add-Migration Init Note ...
I have Table Field1 PK int not null Field2 PK int not null like this when i want to map this table I get this error And I tried to delete and re-cr ...
I have some geolocation data, and I need to parse it to CLLocationCoordinate2D from object geo I found some information on how this could work with ...
I have something like this: Notice that while a Gadget is "owned" by a Superhero (and therefore there's an FK in the database), my domain model doe ...
I am using SQL Server 2012 with Entity Framework, a Generic Repository and a service layer. It's my intention to always use EF and SQL Server. This ...
I have following two Queries on Same Table and need to merge it. But when i check results of Merge it doesn't show Union but shows following messa ...
If I have a User class that has these properties: How can I get this to make via fluent API? When I try to run this it says: Introducing FOREIG ...
I have a table ID|VALUE VALUE an integer field with possible values 0 - 1. How can I return the count of each value? I'm trying to return the resul ...
Hey guys I have problem with binding and refreshing binding. I am using Entity Framework with WindowsForms... I am retrieving orders from Shipping ...
This is used with the Property(() => p).HasDatabaseGeneratedOption() call. Is is perhaps to turn off default DB value generation? ...
All right, probably this question has been answered before but I have been researching and I just can not find the solution to my specific problem Co ...
This is a relatively simple data structure, but I am having a hard time figuring out the best EF strategy to model it. It's obviously not Table Per ...
having a problem and hoping someone can help. This is my real world example. I have 4 tables: Person Plan Coverage and CoveredMembers Each person ...
I've decided to use fluent mapping in Entity Framework. My intention was to map everyting by code without any atributes and auto mapping functions. Be ...