public DataType(BaseDataType baseType, int length, int precision) { this.type = baseType; this.length = length; this.precision = precision; }
public Dictionary<string, BaseDataType> getBaseDataTypes(string databaseType, Model model) { Dictionary<string, BaseDataType> datatypes = new Dictionary<string, BaseDataType>(); foreach (global::EA.Datatype eaDataType in model.wrappedModel.Datatypes) { if (eaDataType.Product.Equals(databaseType,StringComparison.InvariantCultureIgnoreCase) && eaDataType.Type == "DDL") { var datatype = new BaseDataType(eaDataType); datatypes.Add(datatype.name, datatype); } } return datatypes; }
public DataType(BaseDataType baseType, int length, int precision) { this.type = baseType; this.length = length; this.precision = precision; }