internal static FieldBase Create(DDLColumn c) { FieldBase fieldBase = new FieldBase(); fieldBase.Name = CodeUtil.GetFieldName(c); fieldBase.Desc = c.Desc; fieldBase.Remark = c.Remark; fieldBase.DDLColumn = c; fieldBase.FieldType = DDLUtil.AnalysisFieldType(c); fieldBase.JDBCType = DBUtil.AnalysisJDBCType(fieldBase.FieldType); fieldBase.IsKeyField = c.IsKeyColumn(); fieldBase.IsPrimaryKeyColumn = c.IsPrimaryKeyColumn(); fieldBase.IsUniqueKeyColumn = c.IsUniqueKeyColumn(); fieldBase.IsParentKey = c.IsParentKey; return(fieldBase); }
protected static string GetFildTypeStr(FieldBase filedBase) { throw new NotImplementedException(); }