I have been follow Steve Sandersons MVC2 book and have implemented a simple / custom MembershipProvider. You will not that a valid user has been hardcoded. My question is how do I get this to validate
I have two simple classes generated by code first. public class Company { public int Id { get; set; } public string Name { get; set; }
I\'m trying to create a backup of the data contained within my database before I re-create the tables. I\'ve got so far as to connect to the server and create the file to store the SQL. The problem is
I have a subclass in a different assembly to its base class. The parent is a POCO class used for EF Code First.
I want to save my Edit to Database and I am using Entity FrameWork Code-First in ASP.NET MVC 3 / C# but I am getting errors. In my Event class, I have DateTime and TimeSpan datatypes but in my databas
When performing a delete of a one-many relationship without exposing the foreign key, EF deletes the parent record and tries to null the foreign key on the child records. This of course causes an erro
I am just diving into the use of code-first with CTP5 for Entity Framework. To ease the pain of configuring the database mappings I\'ve created myself a little helper class to serve as the base class
I have a model classes that has a description property with a data annotation attribute of StringLength and length is set to 100 characters.When this property is more than 100 characters and Entity Fr
I\'m attempting to map a 1-M relationship between two entities where the first one is normally mapped to a table and the second one is taken from a view.
I have this class and table: public class Foo { public Guid Id {get;set;} public string Name {get;set;} } create table Foo