entity-framework-ctp5
How to modify namespace in classes generated with the CTP5 DbContextGenerator template
in my application I have created a EF model from my database. After I created my POCO classes with the CTP5 ADO.NET DbContextGenerator template. By the way I want modify the namespace开发者_如何学Pyth[详细]
2023-02-13 23:39 分类:问答WCF DataService with EF CTP 5 CodeOnly DbContext
I am trying to build a WCF DataService on top of a Code Only DbContext. However as soon as I add the first DbSet property to my DbContext I get \"Request Error\" when accessing the .svc.[详细]
2023-02-13 19:27 分类:问答how to do many to many with the same table with EF4 Code First
I have this schema: create table Person ( id int identity primary key, name nvarchar(30) ) create table PersonPersons[详细]
2023-02-13 07:27 分类:问答how to have multiple FK in the same table/class with EF4 Code first
I have these 2 tables: create table countries ( int id identity primary key, name nvarchar(20) ) create table persons[详细]
2023-02-13 07:04 分类:问答IQueryable<T> cast to IList<SpecificInterface>
Setup public interface ITable { } public class Company : ITable { public int Id { get; set; } public string Name { get; set; }[详细]
2023-02-13 05:01 分类:问答Mapping Relationship with Legacy Database using Entity Framework CTP5
I\'m having trouble mapping two entities together with Entity Framework CTP5 using Code First / Fluent API. The database is an old one from another application (Exact MAX) that our company is switchin[详细]
2023-02-13 04:22 分类:问答can't delete object that has a many-to-many relationship
these are my simplified entities: public class User : Entity { public virtual ICollection<Role> Roles { get; set; }[详细]
2023-02-13 04:22 分类:问答How to join tables in EF LINQ
When I try to join tables var query = from foo in db.Foos from bar in db.Bars where foo.ID == bar.FooID where foo.ID == 45[详细]
2023-02-13 02:53 分类:问答Why can't I reference the project I created earlier from my wcf service class library?
Warning1The referenced assembly \"C:\\Users\\rzv\\Desktop\\CompanyAnalyse开发者_C百科1.0\\AnalyserModel\\bin\\AnalyserModel.dll\" could not be resolved because it has a dependency on \"System.Web, Ve[详细]
2023-02-12 16:46 分类:问答Compare with string values using IQueryable<T> and Expressions
Sorry about the title but I can\'t really think of a quick way of saying what I want - could someone please change it to a more appropriate one if you think of one?[详细]
2023-02-12 13:41 分类:问答