asp.net - MetaData class usage -


i trying learn new framework (i think) , have got stage im not sure whats going on.

so created class , metadata class. assumption have had access properties of course havent.

i read link http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.metadatatypeattribute.aspx , followed example. seems correct how access properties in class? going add them partial class since example on msdn doesnt this, think may have missed point , metadata come play?

<metadatatype(gettype(customermetadata))> _ partial public class customer end class  public class customermetadata     public property cid integer = 0     public property name string = string.empty end class 

thanks


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -