I have been developing an application over the last few months using EF code first approach with SQL Server Express. It has been great but now I am ready to deploy my application to a live server I ne
Reading this article, http://weblogs.asp.net/manavi/archive/2010/12/28/inheritance-mapping-strategies-with-entity-framework-code-first-ctp5-part-2-table-per-type-tpt.aspx
I have following structure in Oracle database: Course(CourseId, Name) ->Student(StudentId, Name, Comment, CourseId)
I have a simple issue with Entity Framework syntax for the \"not in\" SQL equivalent.Essentially, I want to convert the following SQL syntax into Entity Framework syntax:
I currently have an Entity Framework model that collects data from a legacy database and I am currently using an int on my Id properties
Is there any way to increase the timeout limit of the database command (stored procedure)? I tried to add this in the connection string in web.config, but it doesn\'t seem to work.
I\'m using Entity Framework 4.1 and trying to create a one-to-many relationship. In my software I have UserEntity and RoleEntity classes. Each User has one Role but one Role can have many Users.
I am trying to write a query that returns filtered associations along with the master entity and can\'t seem to find a neat way of doing so.
My EF 4.1 Code First model should be fairly self-explanitory if you look at the code below and am trying to use DataAnnotations whenever I can.
I am having trouble with the following exception from EF during the SaveChanges() method. Multiplicity constraint violated. The role \'Person_Phones_Source\' of the relationship \'CodeFirstNamespace