public ColumnModel String( bool?nullable = null, int?maxLength = null, bool?fixedLength = null, bool?unicode = null, string defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, IDictionary <string, AnnotationValues> annotations = null) { bool? nullable1 = nullable; string str = defaultValue; string defaultValueSql1 = defaultValueSql; int? maxLength1 = maxLength; bool? nullable2 = fixedLength; byte? precision = new byte?(); byte? scale = new byte?(); bool? unicode1 = unicode; bool? fixedLength1 = nullable2; string name1 = name; string storeType1 = storeType; IDictionary <string, AnnotationValues> annotations1 = annotations; return(ColumnBuilder.BuildColumn(PrimitiveTypeKind.String, nullable1, (object)str, defaultValueSql1, maxLength1, precision, scale, unicode1, fixedLength1, false, false, name1, storeType1, annotations1)); }
public ColumnModel Decimal( bool?nullable = null, byte?precision = null, byte?scale = null, Decimal?defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, bool identity = false, IDictionary <string, AnnotationValues> annotations = null) { bool?nullable1 = nullable; // ISSUE: variable of a boxed type __Boxed <Decimal?> local = (System.ValueType)defaultValue; string defaultValueSql1 = defaultValueSql; int? maxLength = new int?(); byte? precision1 = precision; string str1 = name; string str2 = storeType; byte? scale1 = scale; bool? unicode = new bool?(); bool? fixedLength = new bool?(); int num = identity ? 1 : 0; string name1 = str1; string storeType1 = str2; IDictionary <string, AnnotationValues> annotations1 = annotations; return(ColumnBuilder.BuildColumn(PrimitiveTypeKind.Decimal, nullable1, (object)local, defaultValueSql1, maxLength, precision1, scale1, unicode, fixedLength, num != 0, false, name1, storeType1, annotations1)); }
public ColumnModel Boolean( bool?nullable = null, bool?defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, IDictionary <string, AnnotationValues> annotations = null) { return(ColumnBuilder.BuildColumn(PrimitiveTypeKind.Boolean, nullable, (object)defaultValue, defaultValueSql, new int?(), new byte?(), new byte?(), new bool?(), new bool?(), false, false, name, storeType, annotations)); }
public ColumnModel DateTimeOffset( bool?nullable = null, byte?precision = null, DateTimeOffset?defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, IDictionary <string, AnnotationValues> annotations = null) { return(ColumnBuilder.BuildColumn(PrimitiveTypeKind.DateTimeOffset, nullable, (object)defaultValue, defaultValueSql, new int?(), precision, new byte?(), new bool?(), new bool?(), false, false, name, storeType, annotations)); }
public ColumnModel Binary( bool?nullable = null, int?maxLength = null, bool?fixedLength = null, byte[] defaultValue = null, string defaultValueSql = null, bool timestamp = false, string name = null, string storeType = null, IDictionary <string, AnnotationValues> annotations = null) { return(ColumnBuilder.BuildColumn(PrimitiveTypeKind.Binary, nullable, (object)defaultValue, defaultValueSql, maxLength, new byte?(), new byte?(), new bool?(), fixedLength, false, timestamp, name, storeType, annotations)); }