// SmiRequestExecutor subclasses must implement all Setters from SmiTypedGetterSetter // SmiRequestExecutor itself does not need to implement these, since it inherits the default implementation from // SmiTypedGetterSetter #endregion #endregion #region Obsolete as of V210 internal virtual SmiEventStream Execute ( SmiConnection connection, // Assigned connection long transactionId, // Assigned transaction CommandBehavior behavior, // CommandBehavior, SmiExecuteType executeType // Type of execute called (NonQuery/Pipe/Reader/Row, etc) ) { // Obsoleting as of V210 // Implement body with throw because there are only a couple of ways to get to this code: // 1) Client is calling this method even though the server negotiated for V210+ (and doesn't implement it). // 2) Server doesn't implement this method, but negotiated V200-. throw System.Data.Common.ADP.InternalError( System.Data.Common.ADP.InternalErrorCode.UnimplementedSMIMethod ); }
internal virtual SmiEventStream Execute ( SmiConnection connection, // Assigned connection long transactionId, // Assigned transaction Transaction associatedTransaction, // SysTx transaction associated with request, if any. CommandBehavior behavior, // CommandBehavior, SmiExecuteType executeType // Type of execute called (NonQuery/Pipe/Reader/Row, etc) ) { // Adding as of V210 // Implement body with throw because there are only a couple of ways to get to this code: // 1) Client is calling this method even though the server negotiated for V200- and hasn't implemented V210 yet. // 2) Server didn't implement V210 on some interface, but negotiated V210+. throw System.Data.Common.ADP.InternalError( System.Data.Common.ADP.InternalErrorCode.UnimplementedSMIMethod ); }
internal virtual SmiEventStream Execute(SmiConnection connection, long transactionId, Transaction associatedTransaction, CommandBehavior behavior, SmiExecuteType executeType) { throw ADP.InternalError(ADP.InternalErrorCode.UnimplementedSMIMethod); }