12 references to IsPrepared
System.Data (12)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (12)
470
if (
IsPrepared
) {
847
this.
IsPrepared
&& !this.IsDirty
965
Debug.Assert(true ==
IsPrepared
, "Invalid attempt to Unprepare a non-prepared command!");
1642
if (!this.IsDirty && this.
IsPrepared
) {
4143
if ((!this.IsDirty && this.
IsPrepared
&& !_hiddenPrepare)
4144
|| (this.
IsPrepared
&& _execType == EXECTYPE.PREPAREPENDING))
4427
Debug.Assert(!
IsPrepared
, "Batch RPC should not be prepared!");
4473
Debug.Assert(this.
IsPrepared
&& (_prepareHandle != -1), "invalid attempt to call sp_execute without a handle!");
4506
Debug.Assert(IsShiloh || !
IsPrepared
, "RPC should not be prepared!");
6014
get { return
IsPrepared
&& !_hiddenPrepare && !IsDirty; }
6021
return (
IsPrepared
&&
6029
_dirty = value ?
IsPrepared
: false;