MigrationCommand MigrationCommand Class

Definition

public class MigrationCommand
Public Class MigrationCommand
Inheritance
System.ObjectSystem.Object
MigrationCommandMigrationCommand

Constructors

MigrationCommand(IRelationalCommand, Boolean) MigrationCommand(IRelationalCommand, Boolean)

public MigrationCommand(IRelationalCommand relationalCommand, bool transactionSuppressed = false)
Public Sub New(relationalCommand As IRelationalCommand, transactionSuppressed As Boolean = False)
Parameters
transactionSuppressed
System.Boolean System.Boolean

Properties

CommandText CommandText

public virtual string CommandText { get; }
Public Overridable ReadOnly Property CommandText As String
Value
System.String System.String

TransactionSuppressed TransactionSuppressed

public virtual bool TransactionSuppressed { get; }
Public Overridable ReadOnly Property TransactionSuppressed As Boolean
Value
System.Boolean System.Boolean

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary) ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary(Of String, Object))

public virtual int ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary<string, object> parameterValues = null)
Public Overridable Function ExecuteNonQuery(connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing) As Integer
Parameters
parameterValues
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> System.Collections.Generic.IReadOnlyDictionary(Of System.String, System.Object)
Returns
System.Int32 System.Int32

ExecuteNonQueryAsync(IRelationalConnection, IReadOnlyDictionary, CancellationToken) ExecuteNonQueryAsync(IRelationalConnection, IReadOnlyDictionary(Of String, Object), CancellationToken)

public virtual Task<int> ExecuteNonQueryAsync(IRelationalConnection connection, IReadOnlyDictionary<string, object> parameterValues = null, CancellationToken cancellationToken = null)
Public Overridable Function ExecuteNonQueryAsync(connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing, cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
parameterValues
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> System.Collections.Generic.IReadOnlyDictionary(Of System.String, System.Object)
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.Int32> System.Threading.Tasks.Task(Of System.Int32)

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object