public DBType(DBType parmDBType) { m_Type = parmDBType.Type; m_Length = parmDBType.Length; m_Decimal = parmDBType.Decimal; m_Sign = parmDBType.Sign; }
public SqlColumnCondition(string fieldName, EDBType dbtype) { if (fieldName == string.Empty || fieldName == null) { throw new ArgumentNullException("字段名不能为空!"); } this.fieldName = fieldName; this.dbtype = dbtype; }
public BasicDataTypeInfo(EDBType type, string name, int length, int decimals, bool signed, bool allowLength, bool allowDecimals, bool allowSign) { Type = type; Name = name; Description = name; AllowLength = allowLength; AllowDecimals = allowDecimals; AllowSign = allowSign; m_Length = length; m_Decimals = decimals; m_Signed = false; }
public static bool IsStandardType(EDBType type) { return(type == EDBType.BINARY || type == EDBType.CHARACTER || type == EDBType.DATE || type == EDBType.DATETIME || type == EDBType.GUID || type == EDBType.INT || type == EDBType.LONGVARCHAR || type == EDBType.NUMERIC || type == EDBType.PACKED || type == EDBType.VARCHAR || type == EDBType.ZONED || type == EDBType.BITMAP || type == EDBType.Boolean || type == EDBType.VIDEO || type == EDBType.AUDIO || type == EDBType.BINARYFILE || type == EDBType.GEOGRAPHY || type == EDBType.GEOPOINT || type == EDBType.GEOLINE || type == EDBType.GEOPOLYGON ); }
public BasicDataTypeInfo(EDBType type, string name, int length, int decimals, bool signed, bool allowLength) : this(type, name, length, decimals, signed, allowLength, false, false) { }
public static bool IsString(EDBType dbtype) { return(CHARACTER_TYPES.Contains(dbtype)); }