File tree 2 files changed +8
-0
lines changed
src/libraries/System.Data.Common
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2001,6 +2001,8 @@ public abstract class DbBatchCommand
2001
2001
public abstract int RecordsAffected { get ; }
2002
2002
public System . Data . Common . DbParameterCollection Parameters { get { throw null ; } }
2003
2003
protected abstract System . Data . Common . DbParameterCollection DbParameterCollection { get ; }
2004
+ public virtual DbParameter CreateParameter ( ) { throw null ; }
2005
+ public virtual bool CanCreateParameter { get { throw null ; } }
2004
2006
}
2005
2007
public abstract class DbBatchCommandCollection : System . Collections . Generic . IList < DbBatchCommand >
2006
2008
{
Original file line number Diff line number Diff line change @@ -17,5 +17,11 @@ public abstract class DbBatchCommand
17
17
public DbParameterCollection Parameters => DbParameterCollection ;
18
18
19
19
protected abstract DbParameterCollection DbParameterCollection { get ; }
20
+
21
+ public virtual DbParameter CreateParameter ( )
22
+ => throw new NotSupportedException ( ) ;
23
+
24
+ public virtual bool CanCreateParameter
25
+ => false ;
20
26
}
21
27
}
You can’t perform that action at this time.
0 commit comments