Skip to content

Commit e6f6350

Browse files
committed
remove the BulkCopy.Register API until I have chance to test it
1 parent 343d36b commit e6f6350

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dapper.ProviderTools/BulkCopy.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ public static BulkCopy Create(DbConnection connection)
4444
return bcp;
4545
}
4646

47-
/// <summary>
48-
/// Provide an external registration for a given connection type
49-
/// </summary>
50-
public static void Register(Type type, Func<DbConnection, object>? factory)
51-
=> s_bcpFactory[type] = factory;
47+
///// <summary>
48+
///// Provide an external registration for a given connection type
49+
///// </summary>
50+
//public static void Register(Type type, Func<DbConnection, BulkCopy> factory)
51+
//{
52+
// throw new NotImplementedException();
53+
//}
5254

5355
private static readonly ConcurrentDictionary<Type, Func<DbConnection, object>?> s_bcpFactory
5456
= new ConcurrentDictionary<Type, Func<DbConnection, object>?>();

0 commit comments

Comments
 (0)