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)
4473Debug.Assert(this.IsPrepared && (_prepareHandle != -1), "invalid attempt to call sp_execute without a handle!"); 5486sqlParam.Value = _prepareHandle; 5566Debug.Assert(_prepareHandle != 0, "Invalid call to sp_unprepare without a valid handle!"); 5577sqlParam.Value = _prepareHandle; 5590Debug.Assert(_prepareHandle != -1, "Invalid call to sp_execute without a valid handle!"); 5605sqlParam.Value = _prepareHandle; 5619Debug.Assert(_prepareHandle == -1, "This command has an existing handle, use sp_execute!");