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