You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EntityFramework.Utilities/EntityFramework.Utilities/EFBatchOperation.cs
+102-1Lines changed: 102 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,26 @@ public interface IEFBatchOperationBase<TContext, T> where T : class
34
34
/// <param name="connection">The DbConnection to use for the insert. Only needed when for example a profiler wraps the connection. Then you need to provide a connection of the type the provider use.</param>
35
35
/// <param name="batchSize">The size of each batch. Default depends on the provider. SqlProvider uses 15000 as default</param>
/// merge into [(the table of source entity)] as Target
42
+
/// using (tempTable) as Source
43
+
/// on <paramref name="identitySpecification"/>
44
+
/// when matched then
45
+
/// update set <paramref name="whenMatchedUpdateSpecification"/>
46
+
/// when not matched then
47
+
/// insert ...;
48
+
/// </summary>
49
+
/// <typeparam name="TEntity"></typeparam>
50
+
/// <param name="items"></param>
51
+
/// <param name="identitySpecification">match identity specification. if parameter is null, use primary key as default</param>
52
+
/// <param name="whenMatchedUpdateSpecification">update specification when matched by <paramref name="identitySpecification"/>. if parameter is null, update all columns except primary key</param>
0 commit comments