Class TargetedBaseStatement<TTarget, TResult, TType>
Abstract class to select a database object target.
Inheritance
System.Object
BaseStatement <TResult, TType>
TargetedBaseStatement<TTarget, TResult, TType>
Namespace: MySqlX.XDevAPI.Common
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public abstract class TargetedBaseStatement<TTarget, TResult, TType> : BaseStatement<TResult, TType> where TTarget : DatabaseObject where TResult : BaseResult
Type Parameters
Name | Description |
---|---|
TTarget | The database object. |
TResult | The execution result. |
TType | The type of the implemented object. |
Constructors
TargetedBaseStatement(TTarget)
Initializes a new instance of the TargetedBaseStatement class based on the provided target.
Declaration
public TargetedBaseStatement(TTarget target)
Parameters
Type | Name | Description |
---|---|---|
TTarget | target | The database object. |
Properties
Target
Gets the database target.
Declaration
public TTarget Target { get; }
Property Value
Type | Description |
---|---|
TTarget |