File tree Expand file tree Collapse file tree 3 files changed +3
-28
lines changed Expand file tree Collapse file tree 3 files changed +3
-28
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,6 @@ public virtual void AdjustCommand(DbCommand command)
332332#if NET6_0_OR_GREATER
333333 public void PrepareBatch ( DbBatch batch )
334334 {
335- AdjustBatch ( batch ) ;
336335 OnBeforePrepare ( batch ) ;
337336
338337 if ( SupportsPreparingCommands && prepareSql )
@@ -350,20 +349,6 @@ protected virtual void OnBeforePrepare(DbBatch command)
350349 {
351350 }
352351
353- /// <summary>
354- /// Override to make any adjustments to each DbBatch object before it added to the batcher.
355- /// </summary>
356- /// <param name="batch">The batch.</param>
357- /// <remarks>
358- /// This method is similar to the <see cref="OnBeforePrepare"/> but, instead be called just before execute the command (that can be a batch)
359- /// is executed before add each single command to the batcher and before <see cref="OnBeforePrepare"/> .
360- /// If you have to adjust parameters values/type (when the command is full filled) this is a good place where do it.
361- /// </remarks>
362- public virtual void AdjustBatch ( DbBatch batch )
363- {
364-
365- }
366-
367352 public virtual DbBatch CreateBatch ( )
368353 {
369354 throw new NotImplementedException ( ) ;
Original file line number Diff line number Diff line change @@ -177,16 +177,6 @@ public interface IDriver
177177 /// </summary>
178178 bool CanCreateBatch => false ;
179179
180- /// <summary>
181- /// Make any adjustments to each <see cref="DbBatch"/> object before it is added to the batcher.
182- /// </summary>
183- /// <param name="dbBatch">The batch.</param>
184- /// <remarks>
185- /// This method should be executed before adding each single batch to the batcher.
186- /// If you have to adjust parameters values/type (when the command is fullfilled) this is a good place to do it.
187- /// </remarks>
188- void AdjustBatch ( DbBatch dbBatch ) => throw new NotImplementedException ( ) ;
189-
190180 /// <summary>
191181 /// Prepare the <paramref name="dbBatch" /> by calling <see cref="DbBatch.Prepare()" />.
192182 /// May be a no-op if the driver does not support preparing commands, or for any other reason.
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ public abstract class ReflectionBasedDriver : DriverBase
88 {
99 protected const string ReflectionTypedProviderExceptionMessageTemplate =
1010 "The DbCommand and DbConnection implementation in the assembly {0} could not be found. "
11- + "Ensure that the assembly {0} is located in the application directory or in the Global "
12- + "Assembly Cache. If the assembly is in the GAC, use <qualifyAssembly/> element in the "
13- + "application configuration file to specify the full name of the assembly." ;
11+ + "Ensure that the assembly {0} is located in the application directory or in the Global "
12+ + "Assembly Cache. If the assembly is in the GAC, use <qualifyAssembly/> element in the "
13+ + "application configuration file to specify the full name of the assembly." ;
1414
1515 private readonly IDriveConnectionCommandProvider connectionCommandProvider ;
1616
You can’t perform that action at this time.
0 commit comments