mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 fsql.Insert(Dictionary<string, object>) 无实体类插入方法;#481
This commit is contained in:
@ -24,7 +24,7 @@ namespace FreeSql.SqlServer
|
||||
public int GetDbType(DbColumnInfo column) => (int)GetSqlDbType(column);
|
||||
SqlDbType GetSqlDbType(DbColumnInfo column)
|
||||
{
|
||||
switch (column.DbTypeText.ToLower())
|
||||
switch (column.DbTypeText?.ToLower())
|
||||
{
|
||||
case "bit": return SqlDbType.Bit;
|
||||
case "tinyint": return SqlDbType.TinyInt;
|
||||
|
Reference in New Issue
Block a user