Created
October 1, 2017 00:57
-
-
Save tonysneed/2d2165d336c08032dd7b11ffac397d5d to your computer and use it in GitHub Desktop.
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 Product : ITrackable, IMergeable | |
{ | |
public int ProductId { get; set; } | |
public string ProductName { get; set; } | |
public int? CategoryId { get; set; } | |
public decimal? UnitPrice { get; set; } | |
public bool Discontinued { get; set; } | |
public byte[] RowVersion { get; set; } | |
public Category Category { get; set; } | |
[NotMapped] | |
public TrackingState TrackingState { get; set; } | |
[NotMapped] | |
public ICollection<string> ModifiedProperties { get; set; } | |
[NotMapped] | |
public Guid EntityIdentifier { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment