Commit fcd8a702 authored by mgravell's avatar mgravell

reinstate SqlDataRecord types (major conflict with MSSQLCLIENT, but that is removed for now)

parent 67e3b338
...@@ -42,7 +42,7 @@ void SqlMapper.IDynamicParameters.AddParameters(IDbCommand command, SqlMapper.Id ...@@ -42,7 +42,7 @@ void SqlMapper.IDynamicParameters.AddParameters(IDbCommand command, SqlMapper.Id
command.Parameters.Add(parameter); command.Parameters.Add(parameter);
} }
} }
/* problems with conflicting type
private static List<Microsoft.SqlServer.Server.SqlDataRecord> CreateSqlDataRecordList(IEnumerable<int> numbers) private static List<Microsoft.SqlServer.Server.SqlDataRecord> CreateSqlDataRecordList(IEnumerable<int> numbers)
{ {
var number_list = new List<Microsoft.SqlServer.Server.SqlDataRecord>(); var number_list = new List<Microsoft.SqlServer.Server.SqlDataRecord>();
...@@ -107,7 +107,6 @@ public void AddParameter(IDbCommand command, string name) ...@@ -107,7 +107,6 @@ public void AddParameter(IDbCommand command, string name)
p.Value = number_list; p.Value = number_list;
} }
} }
*/
/* TODO: /* TODO:
* *
...@@ -222,8 +221,6 @@ public void TestMassiveStrings() ...@@ -222,8 +221,6 @@ public void TestMassiveStrings()
} }
/* problems with conflicting type
*
[Fact] [Fact]
public void TestTVPWithAnonymousObject() public void TestTVPWithAnonymousObject()
{ {
...@@ -472,8 +469,6 @@ public void TestSqlDataRecordListParametersWithTypeHandlers() ...@@ -472,8 +469,6 @@ public void TestSqlDataRecordListParametersWithTypeHandlers()
} }
} }
*/
#if !NETCOREAPP1_0 #if !NETCOREAPP1_0
[Fact] [Fact]
public void DataTableParameters() public void DataTableParameters()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment