Show / Hide Table of Contents

    Interface ISqlVariable

    SQL variable description

    Namespace: XData.Database.SqlBlock
    Assembly: XData.docfx.dll
    Syntax
    public interface ISqlVariable

    Methods

    | Improve this Doc View Source

    Var<T>(String, DbType)

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, DbType dbType)
    Parameters
    Type Name Description
    String name

    Variable name

    DbType dbType

    Database type

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, DbType, Int32)

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, DbType dbType, int length)
    Parameters
    Type Name Description
    String name

    Variable name

    DbType dbType

    Database type

    Int32 length

    Database type length

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, DbType, Int32, Int32)

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, DbType dbType, int length, int scale)
    Parameters
    Type Name Description
    String name

    Variable name

    DbType dbType

    Database type

    Int32 length

    Database type length

    Int32 scale

    Database type scale

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, Expression<Action<ISqlTableAdapter>>[])

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, params Expression<Action<ISqlTableAdapter>>[] fields)
    Parameters
    Type Name Description
    String name

    Variable name

    Expression<Action<ISqlTableAdapter>>[] fields

    Table variable fields description

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, String)

    Sql variable value

    Declaration
    ISqlValue Var<T>(string name, string nativeSqlType)
    Parameters
    Type Name Description
    String name

    Variable name

    String nativeSqlType

    Native database type name

    Returns
    Type Description
    ISqlValue

    Sql value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, String, Int32)

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, string nativeSqlType, int length)
    Parameters
    Type Name Description
    String name

    Variable name

    String nativeSqlType

    Native database type name

    Int32 length

    Database type length

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    | Improve this Doc View Source

    Var<T>(String, String, Int32, Int32)

    SQL variable value

    Declaration
    ISqlValue Var<T>(string name, string nativeSqlType, int length, int scale)
    Parameters
    Type Name Description
    String name

    Variable name

    String nativeSqlType

    Native database type name

    Int32 length

    Database type length

    Int32 scale

    Database type scale

    Returns
    Type Description
    ISqlValue

    SQL value description

    Type Parameters
    Name Description
    T

    Variable mapped type

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX