none
reading the Custom Attributes RRS feed

  • Question

  •  

    Hi

     

    At Runtime I want to read the custom attributes in the property of the Entity Classes generated by the Designer. Basically I want to read the Size of the column for the string property.

     

    [Column(Storage="_ID", DbType="VarChar(50) NOT NULL")]

     

    From the above Attributes I want to read the 50. I am planning to write a Extension method for string so that it will be easy.

     

    Thanks

    Anandraj.A.

    Friday, June 20, 2008 5:50 AM

Answers