Search Results for

    Show / Hide Table of Contents

    Class SequenceNameAttribute

    Specifies value generation sequence for mapped property of field. Currently it supported only for:

    • Firebird generators
    • Oracle sequences
    • PostgreSQL serial pseudotypes/sequences

    Inheritance
    System.Object
    MappingAttribute
    SequenceNameAttribute
    Namespace: LinqToDB.Mapping
    Assembly: linq2db.dll
    Syntax
    public class SequenceNameAttribute : MappingAttribute

    Constructors

    | Improve this Doc View Source

    SequenceNameAttribute(Nullable<String>, String)

    Creates attribute instance.

    Declaration
    public SequenceNameAttribute(string? configuration, string sequenceName)
    Parameters
    Type Name Description
    System.Nullable<System.String> configuration

    Mapping schema configuration name. See Configuration.

    System.String sequenceName

    Sequence generator name.

    | Improve this Doc View Source

    SequenceNameAttribute(String)

    Creates attribute instance.

    Declaration
    public SequenceNameAttribute(string sequenceName)
    Parameters
    Type Name Description
    System.String sequenceName

    Sequence generator name.

    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
    System.Nullable<System.String>
    | Improve this Doc View Source

    Schema

    Gets or sets sequence generator schema name.

    Declaration
    public string? Schema { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>
    | Improve this Doc View Source

    SequenceName

    Gets or sets sequence generator name.

    Declaration
    public string SequenceName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetObjectID()

    Declaration
    public override string GetObjectID()
    Returns
    Type Description
    System.String
    Overrides
    MappingAttribute.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