Класс BusinessLogicCommand
Represents a business logic command.
Иерархия наследования
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicCommand
Пространство имен: Microsoft.SqlServer.Replication.BusinessLogicSupport
Сборка: Microsoft.SqlServer.Replication.BusinessLogicSupport (в Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Синтаксис
'Декларация
Public Class BusinessLogicCommand _
Implements IDbCommand, IDisposable
'Применение
Dim instance As BusinessLogicCommand
public class BusinessLogicCommand : IDbCommand,
IDisposable
public ref class BusinessLogicCommand : IDbCommand,
IDisposable
type BusinessLogicCommand =
class
interface IDbCommand
interface IDisposable
end
public class BusinessLogicCommand implements IDbCommand, IDisposable
Тип BusinessLogicCommand обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
BusinessLogicCommand() | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(String) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(BusinessLogicConnection) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(BusinessLogicConnection, TempDBResultSet) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(String, BusinessLogicConnection, BusinessLogicTransaction) | Initializes a new instance of the BusinessLogicCommand class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
CommandText | Gets or sets the text command to run against the data source. | |
CommandTimeout | Gets or sets the time in seconds to wait for the command to execute. | |
CommandType | Gets or sets the command type. | |
Connection | Gets or sets the connection to the data source. | |
Parameters | Gets the collection of business logic parameters. | |
Transaction | Gets or sets the transaction within which the command executes. | |
UpdatedRowSource | Gets or sets the updated row source. |
В начало
Методы
Имя | Описание | |
---|---|---|
Cancel | Cancels the execution of a BusinessLogicCommand. | |
CreateParameter | Creates a new instance of an IDbDataParameter object. | |
Dispose | Releases all resources used by the current instance of the BusinessLogicCommand. | |
Equals | (Производный от Object.) | |
ExecuteNonQuery | Executes a statement against a connection object. | |
ExecuteReader() | Executes the CommandText against the Connection, and returns an IDataReader. | |
ExecuteReader(CommandBehavior) | Executes the CommandText against the Connection, and returns an IDataReader using one of the CommandBehavior. | |
ExecuteScalar | Executes the query and returns the first column of the first row in the result set returned by the query. | |
Finalize | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
MemberwiseClone | (Производный от Object.) | |
Prepare | Creates a prepared version of the command on the data source. | |
ToString | (Производный от Object.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
IDbCommand.Parameters | Gets the IDataParameterCollection. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Replication.BusinessLogicSupport