Weben_CMS专用代码生成器/Code/DataBaseFactory/Default/SqlServerDataBaseServiceHandle.cs
@@ -28,7 +28,7 @@ where ic.object_id=obj.object_id and ic.column_id=col.column_id ) as IsPrimaryKey, col.Precision, col.Precision as MyPrecision, col.Scale from sys.objects obj inner join sys.columns col @@ -72,7 +72,7 @@ model = new ColumnModel(); if (dt.Rows[n]["Precision"].ToString() != "") { model.Precision = int.Parse(dt.Rows[n]["Precision"].ToString()); model.MyPrecision = int.Parse(dt.Rows[n]["Precision"].ToString()); } if (dt.Rows[n]["Scale"].ToString() != "") {