I am using EF4 and creating classes through the Entity design surface then generating the database from them. I wan开发者_StackOverflow社区t to add an attribute to some of the classes to show the time
I have the following pseduo code in some Repository Pattern project that uses EF4. public void Delete(int someId)
I am 开发者_如何学Goworking with Entity Framework 4.0 (VS 2010 Beta 2, NOT RC).I can model the EDM and produce the required database.When I ask VS to generate the code for the model, it generates the
According to this question, there\'s no built-in way in EF v1 to figure out the length of a field. Is开发者_运维技巧 there a built-in way to do so in the Entity Framework that ships with .NET 4, if so
I am using Entity Framework 4 in a desktop application with SQL Compact. I want to use a private installation of SQL Compact with my application, so that my installer can install SQL Compact without g
I try to create some method that can update any changed data from changed Data object (this object is generated by ASP.NET MVC) to old Data object (this object is retrieved from current data in DBMS)
Ok, this may sound a little \'unorthodox\', but...using VS2010 and the new POCO t4 template for Entity Framework (Walkthrough: POCO Template for the Entity Framework), I can generate nice POCO\'s. I c
I was using the latest EF 4 bits in Visual Studio 2010 RC and have fallen in love with it. However, I have to develop a small web application开发者_JS百科 using .NET 3.5 SP1 (VS 2008) for work... I wa
Self tracking entities.Awesome. Except when you do something like return Db.Users; none of the self-tracking entities are tracking (until, possibly, they are deserialized).
I am creating a model-first Entity Framework 4 app that uses SQL CE as its data store. All is well until I call ObjectContext.SaveChanges() to save changes to the entities in the model. At that point,