c# - EF Metadata Class not working -


i seem having trouble creating metadata class generated model classes. have created below code, resharper telling me partial class partial class single part. actual membership generated class in project in same solution. problem?

[metadatatype(typeof(membershipviewmodel))] public partial class membership { }  public class membershipviewmodel {     [required, stringlength(3, minimumlength = 3, errormessage = "format: (045/135)")]     [displayattribute(name = "report cycle")]     public string reportcycle { get; set; }    } 


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -