mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update SqlServer
This commit is contained in:
parent
d71d975e8a
commit
40b8a75168
@ -743,7 +743,7 @@ AND syscomments.text LIKE '%"+tableName+"%'");
|
|||||||
|
|
||||||
private static void ConvertCreateColumnInfo(DbColumnInfo x)
|
private static void ConvertCreateColumnInfo(DbColumnInfo x)
|
||||||
{
|
{
|
||||||
string[] array = new string[] { "int", "text", "image", "smallint", "bigint", "date", "bit", "ntext", "datetime","datetime2", "uniqueidentifier", "tinyint", "rowversion", "timestamp" };
|
string[] array = new string[] { "int", "text", "image", "smallint", "bigint", "date", "bit", "ntext", "datetime","datetime2", "uniqueidentifier", "tinyint", "rowversion", "timestamp", "money" };
|
||||||
if (x.DataType.EqualCase( "nvarchar") || x.DataType .EqualCase( "varchar"))
|
if (x.DataType.EqualCase( "nvarchar") || x.DataType .EqualCase( "varchar"))
|
||||||
{
|
{
|
||||||
if (x.Length < 1)
|
if (x.Length < 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user