Created
July 2, 2018 16:12
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
namespace LazyLoading | |
{ | |
public class Orders | |
{ | |
[Key] | |
public int OrderID {get; set;} | |
public string CustomerID {get; set;} | |
public virtual Customers Customers {get; set;} | |
public DateTime OrderDate {get; set;} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment