I met a problem when try to map an one-to-one relationship in a single table.
For example there're two entities (Product and ProductDetail):
public class Product
{
public virtual int ProductID { get; set; }
public virtual string Name { get; set; }
public virtual float Price { get; set;
I met a problem when try to map an one-to-one relationship in a single
table.
For example there're two entities (Product and ProductDetail):
public class Product
{
public virtual int ProductID { get; set; }
public virtual string Name { get; set; }
public virtual float Price { get; set