Search Results for

    Show / Hide Table of Contents

    Class Sql.PropertyAttribute

    An attribute used to define a static value or a Database side property/method that takes no parameters.

    Inheritance
    System.Object
    MappingAttribute
    Sql.ExpressionAttribute
    Sql.PropertyAttribute
    Inherited Members
    Sql.ExpressionAttribute.Expression
    Sql.ExpressionAttribute.ArgIndices
    Sql.ExpressionAttribute.Precedence
    Sql.ExpressionAttribute.Configuration
    Sql.ExpressionAttribute.ServerSideOnly
    Sql.ExpressionAttribute.PreferServerSide
    Sql.ExpressionAttribute.InlineParameters
    Sql.ExpressionAttribute.ExpectExpression
    Sql.ExpressionAttribute.IsPredicate
    Sql.ExpressionAttribute.IsAggregate
    Sql.ExpressionAttribute.IsWindowFunction
    Sql.ExpressionAttribute.IsPure
    Sql.ExpressionAttribute.IsNullable
    Sql.ExpressionAttribute.IgnoreGenericParameters
    Sql.ExpressionAttribute.CanBeNull
    Sql.ExpressionAttribute.GetCanBeNull(ISqlExpression[])
    Sql.ExpressionAttribute.CalcCanBeNull(Sql.IsNullableType, IEnumerable<Boolean>)
    Sql.ExpressionAttribute.ResolveExpressionValues<TContext>(TContext, String, Func<TContext, String, Nullable<String>, Nullable<String>>)
    Sql.ExpressionAttribute.UnknownExpression
    Sql.ExpressionAttribute.PrepareParameterValues<TContext>(TContext, MappingSchema, Expression, Nullable<String>, Boolean, List<Nullable<Expression>>, Boolean, Nullable<List<SqlDataType>>, Func<TContext, Expression, ColumnDescriptor, ISqlExpression>)
    Sql.ExpressionAttribute.PrepareArguments<TContext>(TContext, String, Int32[], Boolean, List<Nullable<Expression>>, Nullable<List<SqlDataType>>, Func<TContext, Expression, ColumnDescriptor, ISqlExpression>)
    Sql.ExpressionAttribute.GetIsPredicate(Expression)
    Namespace: LinqToDB
    Assembly: linq2db.dll
    Syntax
    public class PropertyAttribute : Sql.ExpressionAttribute

    Constructors

    | Improve this Doc View Source

    PropertyAttribute()

    Creates a property to be used in SQL The name of the Property/Method will be used.

    Declaration
    public PropertyAttribute()
    | Improve this Doc View Source

    PropertyAttribute(String)

    Creates a Property to be used in SQL.

    Declaration
    public PropertyAttribute(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the property.

    | Improve this Doc View Source

    PropertyAttribute(String, String)

    Creates a property to be used in SQL for the given ProviderName.

    Declaration
    public PropertyAttribute(string configuration, string name)
    Parameters
    Type Name Description
    System.String configuration

    The ProviderName the property will be used under.

    System.String name

    The name of the property.

    Properties

    | Improve this Doc View Source

    Name

    The name of the Property.

    Declaration
    public string? Name { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>

    Methods

    | Improve this Doc View Source

    GetExpression<TContext>(TContext, IDataContext, SelectQuery, Expression, Func<TContext, Expression, ColumnDescriptor, ISqlExpression>)

    Declaration
    public override ISqlExpression GetExpression<TContext>(TContext context, IDataContext dataContext, SelectQuery query, Expression expression, Func<TContext, Expression, ColumnDescriptor, ISqlExpression> converter)
    Parameters
    Type Name Description
    TContext context
    IDataContext dataContext
    SelectQuery query
    Expression expression
    Func<TContext, Expression, ColumnDescriptor, ISqlExpression> converter
    Returns
    Type Description
    ISqlExpression
    Type Parameters
    Name Description
    TContext
    Overrides
    LinqToDB.Sql.ExpressionAttribute.GetExpression<TContext>(TContext, LinqToDB.IDataContext, LinqToDB.SqlQuery.SelectQuery, Expression, Func<TContext, Expression, LinqToDB.Mapping.ColumnDescriptor, LinqToDB.SqlQuery.ISqlExpression>)
    | Improve this Doc View Source

    GetObjectID()

    Declaration
    public override string GetObjectID()
    Returns
    Type Description
    System.String
    Overrides
    Sql.ExpressionAttribute.GetObjectID()

    Extension Methods

    Map.DeepCopy<T>(T)
    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.In<T>(T, T[])
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T[])
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, T, T, T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2022 linq2db.com

    Generated by DocFX