3 writes to _prepareHandle
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
506
_prepareHandle
= -1;
982
_prepareHandle
= -1;
5147
_prepareHandle
= rec.value.Int32;
7 references to _prepareHandle
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (7)
4473
Debug.Assert(this.IsPrepared && (
_prepareHandle
!= -1), "invalid attempt to call sp_execute without a handle!");
5486
sqlParam.Value =
_prepareHandle
;
5566
Debug.Assert(
_prepareHandle
!= 0, "Invalid call to sp_unprepare without a valid handle!");
5577
sqlParam.Value =
_prepareHandle
;
5590
Debug.Assert(
_prepareHandle
!= -1, "Invalid call to sp_execute without a valid handle!");
5605
sqlParam.Value =
_prepareHandle
;
5619
Debug.Assert(
_prepareHandle
== -1, "This command has an existing handle, use sp_execute!");