mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-09-18 09:25:35 +08:00
- 修复 SqlServer DbFirst、CodeFirst 查询实体表的列信息错误,当设置了表/列多个扩展属性时发生;
- 修复 SqlServer2005 CodeFirst 迁移时,不支持 SET (LOCK_ESCALATION TABLE) 的错误(已做适配); - 修复 SqlServer2005 批量插入SQL语法错误,不支持 Values(),()(已做适配); - 完善 SqlServer2005 环境跑通了所有单元测试;
This commit is contained in:
@@ -17,7 +17,9 @@ namespace FreeSql.SqlServer
|
||||
{
|
||||
}
|
||||
|
||||
public bool IsSelectRowNumber = true;
|
||||
public bool IsSelectRowNumber => ServerVersion <= 10;
|
||||
public bool IsSqlServer2005 => ServerVersion == 9;
|
||||
public int ServerVersion = 0;
|
||||
|
||||
public override DbParameter AppendParamter(List<DbParameter> _params, string parameterName, Type type, object value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user