C# reflection avoid propertie

Posted by ozsenegal on Stack Overflow See other posts from Stack Overflow or by ozsenegal
Published on 2010-06-01T23:05:26Z Indexed on 2010/06/01 23:13 UTC
Read the original article Hit count: 229

Filed under:
|

Im using reflection to acess a class tha represents a table in DB.However,reflection read all properties of that class,and im wondering if there're some atributte in c# we can use to avoid read that propertie.

i.e:

[AvoidThisPropertie]
public string Identity
{
get;
set;
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about reflection