Search Results for

    Show / Hide Table of Contents

    Class SnowflakeExtensions

    Inheritance
    object
    SnowflakeExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Snowflake
    Assembly: FluentMigrator.Extensions.Snowflake.dll
    Syntax
    public static class SnowflakeExtensions

    Fields

    IdentityIncrement

    Declaration
    public static readonly string IdentityIncrement
    Field Value
    Type Description
    string

    IdentitySeed

    Declaration
    public static readonly string IdentitySeed
    Field Value
    Type Description
    string

    Methods

    Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, int, int)

    Makes a column an Identity column using the specified seed and increment values.

    Declaration
    public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, int seed, int increment) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
    Parameters
    Type Name Description
    IColumnOptionSyntax<TNext, TNextFk> expression

    Column on which to apply the identity.

    int seed

    Starting value of the identity.

    int increment

    Increment value of the identity.

    Returns
    Type Description
    TNext
    Type Parameters
    Name Description
    TNext
    TNextFk

    Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, long, int)

    Makes a column an Identity column using the specified seed and increment values with bigint support.

    Declaration
    public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, long seed, int increment) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
    Parameters
    Type Name Description
    IColumnOptionSyntax<TNext, TNextFk> expression

    Column on which to apply the identity.

    long seed

    Starting value of the identity.

    int increment

    Increment value of the identity.

    Returns
    Type Description
    TNext
    Type Parameters
    Name Description
    TNext
    TNextFk
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.