I have 2 tables in my DB: Students and StudentsHistory. The idea is that every change in the Students table must create a new record in the StudentsHistory table (e.g. when I edit a student, 2 operati
I have a table that has a unique index on a table with an Ordinal column.So for example the table will have the following columns:
I\'m trying to understand how to use WCF Data Services (based on EF 4.1) to create a restful web service that will persist entities passed as JSON objects.
I\'m using EF4.1 code first, I\'m trying to to create a query which returns a collection with an eager loaded child-collection.
I have an object that has a char property: public class Product { public char Code { get; set; } } Entity Framework doesn\'t seem to be able to map chars (this field is missing from the database wh
I have a question regarding WCF DataService and Entity Framework 4.1 (code-first). So I have a DataService on web server:
Here is very simplified version of code that i have: class PrintJob : IEntity { public string UserName { get; set; }
I\'m wokring on building dataAcess layer for my application I\'m using EF4 Self tracking entities I build entities quit well now I have to seprate self entities to their files so I can use for N tiers
I am trying to use the DbEntityEntry.CurrentValues.SetValues() method to facilitate updating an existing entity with values from a non-entity DTO (see: http://blogs.msdn.com/b/adonet/archive/2011/01/3
If I have an entity with a collection property for another entity. What is the best way to add a new entity and it\'s related entities? The problem I have is that the collection is initially null.