entity-framework-ctp5
using Guid as PK with EF4 Code First
I have this class and table: public class Foo { public Guid Id {get;set;} public string Name {get;set;} } create table Foo[详细]
2023-02-16 00:16 分类:问答Deleting multiple records in EF CTP5
I have a Person class: public class Person { public int Id { get; set; } public int DeptId { get; set; }[详细]
2023-02-16 00:04 分类:问答Entity Framework 4 - Mapping non-public properties with CTP5 (code first) in a persistence unaware context
I know the question already has a solution (eg. this question) but I really can\'t afford to attach the mapping logic in the same assembly where the domain (POCO classes) is.[详细]
2023-02-15 22:59 分类:问答Entity Framework Code First - Add Child Entity to Parent by Primary Key
In Entity Framew开发者_StackOverflow社区ork Code First CTP5 is it possible to add a child entity to a parent entity collection using only the primary key of the child? My goal is to avoid having to fi[详细]
2023-02-15 21:55 分类:问答EF4 CTP5 - Map foreign key without object references?
I feel like this should have a simple answer, but I can\'t开发者_开发问答 find it. I have 2 POCOs:[详细]
2023-02-15 14:10 分类:问答EF4 Code only ctp5: how set connectionstring devart oracle?
hi i have devart oracle provider 6(BETA), and want use code only ctp5...how i c开发者_C百科an set connectionstring for oracle?i started now with Code only and i need use oracle, anyone can help me?You[详细]
2023-02-15 08:06 分类:问答in linq to entities, how to do an inner EXISTS (SELECT 1 FROM... type of query?
I am trying to write a LINQ equivalent of SELECT C1, C2, C3 FROM T1 WHERE T1.C4=\'xyz\' AND EXISTS (SELECT 1 FROM T2[详细]
2023-02-15 07:09 分类:问答How to save related new objects that comes from differents DBContext CTP5
I\'m working on a MVC3 application and I created my POCO classes from my database with the DbContext Code Generator. All goes fine until I got stuck in this situation. Note that I use the repository p[详细]
2023-02-15 06:46 分类:问答EF CTP5 which code generation item to choose?
With EF 4.1 on the way and CTP5 being available for few months now I\'ve decided to try out the new functionality. As I see, there are multiple generation items available (DbContext and three differen[详细]
2023-02-15 04:16 分类:问答Define the key for this EntityType
I get this error on this line of code - ReportRunnerEntities reportDB = new ReportRunnerEntities(); public ActionResult Index()[详细]
2023-02-14 21:22 分类:问答