Skip to content

Instantly share code, notes, and snippets.

@stanb
Created November 2, 2012 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stanb/fed6dc3e81106702f2e0 to your computer and use it in GitHub Desktop.
Save stanb/fed6dc3e81106702f2e0 to your computer and use it in GitHub Desktop.
Simple Supplier - Orders model
public class Supplier
{
public virtual Guid Id { get; set; }
public virtual string Name { get; set; }
public virtual ICollection<SupplierOrder> Orders { get; set; }
}
public class SupplierOrder
{
public virtual Guid Id { get; set; }
public virtual Supplier Supplier { get; set; }
public virtual DateTime OrderTime { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment