Top "Ef4-code-only" questions

How do I map a char property using the Entity Framework 4.1 "code only" fluent API?

I have an object that has a char property: public class Product { public char Code { get; set; } } Entity Framework doesn't …

entity-framework char ef4-code-only fluent-interface
How map objects to a view with EF 4 code first?

How can you map an entity to a database view with EF 4 code first? Is there a way to do …

.net entity-framework entity-framework-4 ef4-code-only
How not persist property EF4 code first?

How do I make non persisted properties using codefirst EF4? MS says there is a StoreIgnore Attribute, but I cannot …

c# .net entity-framework entity-framework-4 ef4-code-only
How to accept JSON in a WCF DataService?

I'm trying to understand how to use WCF Data Services (based on EF 4.1) to create a restful web service that …

c# json wcf-data-services ef4-code-only
How do I get the raw SQL underlying a LINQ query when using Entity Framework CTP 5 "code only"?

I've using Entity Framework CTP5 in "code only" mode. I'm running a LINQ query on a object that was return …

sql entity-framework profiling code-first ef4-code-only
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 …

entity-framework-4 code-first entity-framework-ctp5 ef4-code-only
XML data type in EF 4.1 Code First

I would like to use SQL Server xml type as a column type for an entity class. According to this …

entity-framework entity-framework-4 ef-code-first ef4-code-only xml-column