Example #1
0
 public QColumn(string name, QDbType type, bool isKey)
     : this()
 {
     this.Name = name;
     this.Type = type;
     this.IsKey = isKey;
 }
Example #2
0
 public string Get(QDbType type)
 {
     if (type == QDbType.NUM)
         return this.NUM;
     else if (type == QDbType.Text)
         return this.Char;
     else if (type == QDbType.Time)
         return this.Time;
     else
         return this.Bool;
 }
Example #3
0
 public string Get(QDbType type)
 {
     if (type == QDbType.NUM)
     {
         return(this.NUM);
     }
     else if (type == QDbType.Text)
     {
         return(this.Char);
     }
     else if (type == QDbType.Time)
     {
         return(this.Time);
     }
     else
     {
         return(this.Bool);
     }
 }
Example #4
0
 public QColumn(string name, QDbType type, bool isKey) : this()
 {
     this.Name  = name;
     this.Type  = type;
     this.IsKey = isKey;
 }