Beispiel #1
0
 private void parse()
 {
     object[] attrs = m_PropertyInfo.GetCustomAttributes(typeof(dbAttribute), false);
     if (attrs.Length > 0)
     {
         m_dbAttribute = (dbAttribute)attrs[0];
     }
 }
Beispiel #2
0
 public dbPropertyInfo(PropertyInfo p, object o, IDBFactory db_factory)
 {
     m_dbFactory    = db_factory;
     m_Object       = o;
     m_PropertyInfo = p;
     m_dbAttribute  = null;
     parse();
 }