@@ -169,9 +169,9 @@ public interface IDriver
169169 /// Create a <see cref="DbBatch"/>
170170 /// </summary>
171171 /// <returns></returns>
172- /// <exception cref="NotImplementedException "></exception>
173- DbBatch CreateBatch ( ) => throw new NotImplementedException ( ) ;
174-
172+ /// <exception cref="NotSupportedException "></exception>
173+ DbBatch CreateBatch ( ) => throw new NotSupportedException ( ) ;
174+
175175 /// <summary>
176176 /// Can this driver create <see cref="DbBatch"/>es?
177177 /// </summary>
@@ -182,7 +182,7 @@ public interface IDriver
182182 /// May be a no-op if the driver does not support preparing commands, or for any other reason.
183183 /// </summary>
184184 /// <param name="dbBatch">The batch.</param>
185- void PrepareBatch ( DbBatch dbBatch ) => throw new NotImplementedException ( ) ;
185+ void PrepareBatch ( DbBatch dbBatch ) { }
186186
187187 /// <summary>
188188 /// Creates (clones) a <see cref="DbBatchCommand"/> from a <see cref="DbCommand"/>,
@@ -193,8 +193,8 @@ public interface IDriver
193193 /// <param name="dbBatch"></param>
194194 /// <param name="dbCommand"></param>
195195 /// <returns></returns>
196- /// <exception cref="NotImplementedException "></exception>
197- DbBatchCommand CreateDbBatchCommandFromDbCommand ( DbBatch dbBatch , DbCommand dbCommand ) => throw new NotImplementedException ( ) ;
196+ /// <exception cref="NotSupportedException "></exception>
197+ DbBatchCommand CreateDbBatchCommandFromDbCommand ( DbBatch dbBatch , DbCommand dbCommand ) => throw new NotSupportedException ( ) ;
198198#endif
199199 }
200200}
0 commit comments