Show / Hide Table of Contents

    Class QueryParam

    SQL query parameter

    Inheritance
    Object
    QueryParam
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: XData.Database.Adapter
    Assembly: XData.docfx.dll
    Syntax
    public class QueryParam

    Constructors

    | Improve this Doc View Source

    QueryParam(String, Object, DbType, Int32)

    Query parameter constructor

    Declaration
    public QueryParam(string name, object value = null, DbType type = DbType.String, int length = 0)
    Parameters
    Type Name Description
    String name

    Parameter name

    Object value

    Parameter value

    DbType type

    Parameter data type

    Int32 length

    Parameter value max length

    | Improve this Doc View Source

    QueryParam(QueryParam, Object)

    Query parameter copy constructor

    Declaration
    public QueryParam(QueryParam param, object value = null)
    Parameters
    Type Name Description
    QueryParam param

    Parameter name

    Object value

    Parameter value

    Properties

    | Improve this Doc View Source

    Direction

    Parameter direction

    Declaration
    public ParameterDirection Direction { get; set; }
    Property Value
    Type Description
    ParameterDirection
    | Improve this Doc View Source

    IsArray

    Collection type array flag

    Set to true to use with VARARRAY collections

    WARNING! Using UDT can be not supported or limited by adapter!

    Declaration
    public bool IsArray { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsResultSet

    Parameter is result set

    Declaration
    public bool IsResultSet { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Length

    Parameter value max length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Name

    Parameter name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    NativeSqlType

    Parameter native SQL type

    Declaration
    public string NativeSqlType { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Type

    Parameter data type

    Declaration
    public DbType Type { get; }
    Property Value
    Type Description
    DbType
    | Improve this Doc View Source

    UdtElementTypeName

    Single object (or collection element) user defined type (UDT) SQL type name

    WARNING! Specify full qualified type name!

    WARNING! Using UDT can be not supported or limited by adapter!

    Declaration
    public string UdtElementTypeName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    UdtMappedType

    Class type mapped with user defined type (UDT) SQL type name

    This type properties are mapped to SQL type by name (case insensitive)

    WARNING! Beware to use property data types not supported by adapter or user defined type (UDT)!

    WARNING! Using UDT can be not supported or limited by adapter!

    Declaration
    public Type UdtMappedType { get; set; }
    Property Value
    Type Description
    Type
    | Improve this Doc View Source

    UdtTypeName

    Collection user defined type (UDT) SQL type name

    WARNING! Specify full qualified type name!

    WARNING! Using UDT can be not supported or limited by adapter!

    Declaration
    public string UdtTypeName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Value

    Parameter value

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    Object

    Methods

    | Improve this Doc View Source

    ToString()

    Returns a String that represents the current Object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A String that represents the current Object.

    Overrides
    Object.ToString()

    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