Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name">DB field name</param>
 /// <param name="fieldProperty">Field property</param>
 /// <param name="isIdentify">is Identify field</param>
 public SQLFieldAttribute(string name, EnumDBFieldUsage fieldUsage, bool isIdentify)
 {
     this.Name       = name;
     this.FieldUsage = fieldUsage;
     this.IsIdentify = isIdentify;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name">DB field name</param>
 /// <param name="fieldProperty">Field property</param>
 public SQLFieldAttribute(string name, EnumDBFieldUsage fieldUsage)
 {
     this.Name       = name;
     this.FieldUsage = fieldUsage;
     this.IsIdentify = false;
 }