MigrationCommand MigrationCommand Class

Definition

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

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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

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)