entity-framework-ctp5
How does EF4 compare with NHibernate?
Is it any better? I heard the CodeFirst extension but is it ready for primetim开发者_JAVA百科e. Please share your experience with development, any performance overheads, etc.I think this is a timely q[详细]
2023-02-07 09:04 分类:问答EF Linq to entities query generating UNION for TPC CTP5 code-first entity
I have the following entities: public class User { public int Id { get; set; } public string Name { get; set; }[详细]
2023-02-07 07:16 分类:问答Entity Framework - Code First, DbSet.Local Not Updating in UI
I have a Code First, CTP5 data context.I have a WPF app with a DataGrid.I set its DataContext like: dataGrid.DataContext = _context.Customers.Local;[详细]
2023-02-07 07:05 分类:问答LINQ TO SQL or Entity Framework 4 Code-First for a domain driven project?
At the actual time, what would be better to use for a domain driven project ? LI开发者_StackOverflowNQ TO SQL or Entity Framework 4 Code-First ?[详细]
2023-02-07 04:49 分类:问答How to implemented this using Repository Pattern (or something more appropriate)?
I have a repository called: IChocolateRepository It derives from 开发者_开发知识库a generic repository interface IRepository<> which defines basic repository functions (FindAll, Delete, Add, etc.)[详细]
2023-02-07 03:52 分类:问答Cascade delete in EF4 CTP5 Code First performs update on child records
Using the method described here, I am开发者_开发问答 attempting to delete a parent record and all the associated child records.However, what happens is the parent is deleted as expected, but child rec[详细]
2023-02-06 22:19 分类:问答EF CTP5 - Strongly-Typed Eager Loading - How to Include Nested Navigational Properties?
Attempting to cutover our EF4 solution to EF CTP5, and ran into a problem. Here\'s the relevant portion of the model:[详细]
2023-02-06 19:00 分类:问答Generics and Entity Framework: How do I return a different type depending on a column value
We have a Persons table which stores different types of persons (Buyer, Seller, Agent, etc).Our ORM is Entity Fra开发者_StackOverflow社区mework CodeFirst (CTP5).We\'re using the repository pattern for[详细]
2023-02-06 16:27 分类:问答EF4 CTP5 polymorphic query
I have a model like the following: public class Employee { public Employee() { TimeCards = new List<TimeCard>();[详细]
2023-02-06 11:31 分类:问答ProviderIncompatibleException with entity framework 4 ctp5 and oracle express
I encountered a ProviderIncompatibleException when I tried to connect on a Oracle express database with dotConnect for Oracle and entity framework 4 ctp5. I have Oracle Express 10g a开发者_开发问答nd[详细]
2023-02-06 08:10 分类:问答