Show / Hide Table of Contents

    Class ParameterAttribute

    SQL stored procedure/function parameter

    Inheritance
    Object
    Attribute
    ParameterAttribute
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.Mapping
    Assembly: XData.docfx.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public sealed class ParameterAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    ParameterAttribute(String, Int32, String, Type, DbType)

    Parameter attribute constructor

    Declaration
    public ParameterAttribute(string alias, int order, string binding, Type type, DbType dbType)
    Parameters
    Type Name Description
    String alias

    SQL stored procedure/function alias

    Int32 order

    Parameter order

    String binding

    Parameter to repository variable binding

    Type type

    Parameter mapped type

    DbType dbType

    Parameter database type

    Properties

    | Improve this Doc View Source

    DefaultType

    Parameter default value type

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

    DefaultValue

    Parameter default value

    Declaration
    public object DefaultValue { get; set; }
    Property Value
    Type Description
    Object
    | 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

    User defined type (UDT) collection is VARARRAY

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

    Name

    Parameter name

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

    NativeSqlType

    Native SQL type name

    Declaration
    public string NativeSqlType { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Used to specify native SQL column type when conflicted with default type mapping

    WARNING! May be not supported by database adapter!

    | Improve this Doc View Source

    Scale

    Parameter data scale (if applicable)

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

    Size

    Parameter data size (if applicable)

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

    TypeId

    When implemented in a derived class, gets a unique identifier for this Attribute.

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

    An Object that is a unique identifier for the attribute.

    Overrides
    Attribute.TypeId
    | Improve this Doc View Source

    UdtElementTypeName

    User defined type (UDT) element type name

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

    UdtTypeName

    User defined type (UDT) name

    Declaration
    public string UdtTypeName { get; set; }
    Property Value
    Type Description
    String

    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