entity-framework-4.1
EF and POCOs. How to properly set up my project
Recently I started working with EF 4.1 in .NET and had sort of positive experience until today when I tried to set up my own project (so far I was working on projects started by somebody else).[详细]
2023-04-10 04:52 分类:问答Saving changes to eagerly loaded associations in RIA Services
I\'m using RIA Services with Entity Framework for the data layer of my Silverlight application.I have two entities that are related in a many-to-one relationship[详细]
2023-04-10 01:59 分类:问答Linq to Entities, getting Max date when there is no data
Here\'s my statement: startDate = (from n in db.Nodes where n.SeedID == mySeedID select n.CreatedDate).Max<DateTime>();[详细]
2023-04-10 01:43 分类:问答EF 4.1 Code First : How to load entity references into memory?
I just started working with EF 4.1 Code First and noticed that by default, references (navigation properties), are not loaded into memory with a POCO entity you queried with LINQ-to-Entity. I have had[详细]
2023-04-10 00:00 分类:问答Error using Code-first in EF with an Existing Database
I followed Using EF “Code First” with an Existing Database tutorial step by step but getting the following Error :[详细]
2023-04-09 22:11 分类:问答Which connectionstring to use in EF Code-first with an existing database
The existing database was created in the project itself and resides on App_Data as prompted by visual studio while adding a new sql database item to the project.[详细]
2023-04-09 17:58 分类:问答Accessing stored procedures on a code generated DbContext with Entity Framework 4.1 with DDD
I\'m working on a large project using ASP.Net 开发者_JAVA技巧MVC 3, EF 4.1 and Ninject for Dependecy Injection. I\'ve read through many of the existing questions here regarding DDD, EF and the Reposit[详细]
2023-04-09 15:58 分类:问答How do I pass a connection string to the constructor of a database-first DBContext with Entity Framework 4.1?
For various reasons I would like to not store the connection string for my Entity Framework DB model in one of the various .config files.(I am using the latest and greatest DBContext API with the new[详细]
2023-04-09 14:47 分类:问答What uses should I make of Entity Framework Entity Partial Classes?
I\'m working with EF 4.1 Database first. I was wondering what sort of things I may use Entity Partial Classes for. What would some examples of possible functionality I might want to add to partial cla[详细]
2023-04-09 11:04 分类:问答How can I view the SQL command sent by .SaveChanges()
For debugging purposes, I\'d like to view the SQL command that is being sent to my database when I call .SaveChanges() on my container object.Is there a way to spy that value?[详细]
2023-04-09 10:32 分类:问答
加载中,请稍侯......