Given the model: public abstract class Person { public int Id {get;set;} } public class Customer : Person
I havea class department inheriting from activeentity public class ActiveEntity : Entity, IActive { public ActiveEntity()
This question already has answers here: Getting exact error type in from DbValidationException (8 answers)
My application is using EF code-first design and all generally works very well. Via a private configuration file, I can specify how I would like EF to handle changes to the db schema, and so create/r
I have the following code, I am using the repository pattern in EF 4.1 and Unit of Work. However because I dont understand very much how Expression and Predicates works I ask the following:
I am just doing a small application with 3 tables. Applicants Positions ApplicantsPerPosition. This last one would be a many to many relationship with the other 2 tables.
I have to build the architecture of a web application using Entity Framework 4.1 and ASP.NET. I already have the database structure, so I have to use the database-fist. I have read lots of articles an
I\'m trying to implement a simple TPH example from http://msdn.microsoft.com/en-us/library/dd793152.aspx. I have two tables:
Basically put, I have an action that saves a form to a database, then redirects the user to a list. From this list, the user can select a few actions.
Say I have the following POCO classes: public class Parent { public int ID { get; set; } } public class Child