Created
December 28, 2018 14:10
-
-
Save montella1507/3fb6ec70b4f40672156e3693989ecce7 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 abstract class EntityBase | |
{ | |
/// <summary> | |
/// Will be automatically filled | |
/// </summary> | |
public Guid Id { get; set; } | |
public override bool Equals(object obj) | |
{ | |
.... code goes here.. | |
return Id == other.Id; | |
} | |
.... code goes here.. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment