entity-framework-ctp5
Entity Framework 4 mapping issue
Me and my friend at work are having some difficulties defining a mapping in Entity Framework 4 CTP 5 using the Code First Fluent API, and I was hoping someone could point out some obvious dumb mistake[详细]
2023-02-08 22:43 分类:问答Turn Off Object Caching in Entity Framework CTP5
I am having trouble figuring out something with the Entity Framework Code First stuff in CTP 5. It is doing caching of objects and I don\'t want it to. For example, I load a page (working with an ASP.[详细]
2023-02-08 14:55 分类:问答Is it possible to determine which Entity a Poco maps to, using code, for Entity Framework CTP5?
I\'m not sure how I can get the EntityFramework meta-data for an Entity (i have on my EF designer / edmx) for a Poco object.[详细]
2023-02-08 04:37 分类:问答How to use DbContext.Database.SqlQuery<TElement>(sql, params) with stored procedure? EF Code First CTP5
I have a stored procedure that has three parameters and I\'ve been trying to use the following to return the results:[详细]
2023-02-07 21:51 分类:问答CTP5 POCO Code-Only, how to add master-detail records to DB
I am trying EF CTP5 POCO, and converting from EF4 EntityModel to POCO Code Only Approach. internal class InvoiceContext : DbContext[详细]
2023-02-07 20:13 分类:问答Generate money type fields using code first EF CTP5
In this blog post: EF4 Code First Contr开发者_StackOverflow社区ol Unicode and Decimal Precision, Scale with Attributes, Dane Morgridge used attributes to control the creation of different types on you[详细]
2023-02-07 20:12 分类:问答Requiring an Id from SaveChanges, whilst saving? Entity Framework
I am inserting a record into the database, which looks like this: class Transaction { int Id; } What I want, is when I insert this object, I want to create another record, like this:[详细]
2023-02-07 17:19 分类:问答EF4 CTP5 - HasColumnType not working
I want to override the default nvarchar(4000) for one of my string columns to a text data type in SQL Express. I use 开发者_如何转开发this code.[详细]
2023-02-07 14:09 分类:问答ctp5 poco, base table objects and domain models
to simplify my class/object reuse, I am wondering if I can do that. public class InvoiceTbl { public Guid InvoiceId {get; set;}[详细]
2023-02-07 11:07 分类:问答Having trouble trying to Delete a POCO object in Entity Framework CTP5
I\'m having a problem trying to delete a POCO object with my Entity Framework CTP5 code. I\'ll start out with my Delete method and then both Integration Tests. First Integration Test passes/works, se[详细]
2023-02-07 10:02 分类:问答