Search Results for

    Show / Hide Table of Contents

    Class MappingAttribute

    Inheritance
    object
    Attribute
    MappingAttribute
    OptimisticLockPropertyBaseAttribute
    ExpressionMethodAttribute
    AssociationAttribute
    ColumnAliasAttribute
    ColumnAttribute
    DataTypeAttribute
    DynamicColumnAccessorAttribute
    DynamicColumnsStoreAttribute
    IdentityAttribute
    InheritanceMappingAttribute
    MapValueAttribute
    NullableAttribute
    PrimaryKeyAttribute
    QueryFilterAttribute
    ScalarTypeAttribute
    SequenceNameAttribute
    SkipBaseAttribute
    TableAttribute
    ValueConverterAttribute
    Sql.EnumAttribute
    Sql.ExpressionAttribute
    Sql.QueryExtensionAttribute
    Sql.TableFunctionAttribute
    Implements
    _Attribute
    Namespace: LinqToDB.Mapping
    Assembly: linq2db.dll
    Syntax
    public abstract class MappingAttribute : Attribute, _Attribute

    Properties

    | Improve this Doc View Source

    Configuration

    Gets or sets mapping schema configuration name, for which this attribute should be taken into account. ProviderName for standard names. Attributes with null or empty string Configuration value applied to all configurations (if no attribute found for current configuration).

    Declaration
    public string? Configuration { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    Attribute.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    Attribute.GetHashCode()
    | Improve this Doc View Source

    GetObjectID()

    Returns mapping attribute id, based on all attribute options.

    Declaration
    public abstract string GetObjectID()
    Returns
    Type Description
    string

    Implements

    System.Runtime.InteropServices._Attribute

    Extension Methods

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

    Generated by DocFX