Ejemplo n.º 1
0
 public DBFieldEntry SetInt(int value)
 {
     if (DBFieldType.HasFlag(DBFieldType.@int))
     {
         Int = value;
     }
     return(this);
 }
Ejemplo n.º 2
0
 public DBFieldEntry SetDouble(double value)
 {
     if (DBFieldType.HasFlag(DBFieldType.@double))
     {
         Double = value;
     }
     return(this);
 }
Ejemplo n.º 3
0
 public DBFieldEntry SetDateTimeOffset(DateTimeOffset dateTimeOffset)
 {
     if (DBFieldType.HasFlag(DBFieldType.DateTime))
     {
         DateTimeOffset = dateTimeOffset;
     }
     return(this);
 }
Ejemplo n.º 4
0
 public DBFieldEntry SetString(string value, int length = 200)
 {
     if (DBFieldType.HasFlag(DBFieldType.varchar) && value.Length <= length)
     {
         String = value;
         Length = length;
     }
     return(this);
 }