-
-
Save stanb/fed6dc3e81106702f2e0 to your computer and use it in GitHub Desktop.
Simple Supplier - Orders model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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