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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -