problem about navigation-properties-Collection of common programming errors


  • Jon Seigel
    entity-framework poco entity-framework-4 navigation-properties
    I’m using VS2010, EF4 feature CTP (latest release), and POCO objects, such as the example below:class Person {public int ID { get; set; }public string Name { get; set; }public virtual IList<Account> Accounts { get; set; }… }class Account {public string Number { get; set; }public int ID { get; set; }… }For the sake of brevity, assume context below is the context object for EF4. I have a dbml mapping between entity types and the database, and I use it like this with no problem:Person dou

Web site is in building