Monday, February 4, 2019

an Entity Framework 6 example of a spec for the database side length of a string and also the demand that the string be unique

[Index(IsUnique = true), MaxLength(50)]
public string EncodeId { get; set; }

No comments:

Post a Comment