Exemple #1
0
 public void setType(Type t)
 {
     if (String.IsNullOrEmpty(this.Name))
     {
         this.Name = NameUtil.getSqlName(t.Name);
     }
 }
Exemple #2
0
 public virtual void setPropertyInfo(PropertyInfo propertyInfo)
 {
     mPropertyInfo    = propertyInfo;
     mPropName        = propertyInfo.Name;
     mPreparePropName = "@" + mPropName;
     if (String.IsNullOrEmpty(Name))
     {
         Name = NameUtil.getSqlName(mPropName);
     }
 }