Search Results for

    Show / Hide Table of Contents

    Interface ITypeMap

    A map of DbType to an SQL type

    Namespace: FluentMigrator.Runner.Generators
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public interface ITypeMap

    Methods

    | Edit this page View Source

    GetTypeMap(DbType, int, int)

    Get the SQL type for a DbType

    Declaration
    [NotNull]
    [Obsolete]
    string GetTypeMap(DbType type, int size, int precision)
    Parameters
    Type Name Description
    DbType type

    The DbType to get the SQL type for

    int size

    The requested size (in DB lingua: precision)

    int precision

    The requested precision (in DB lingua: scale)

    Returns
    Type Description
    string

    The SQL type

    | Edit this page View Source

    GetTypeMap(DbType, int?, int?)

    Get the SQL type for a DbType

    Declaration
    [NotNull]
    string GetTypeMap(DbType type, int? size, int? precision)
    Parameters
    Type Name Description
    DbType type

    The DbType to get the SQL type for

    int? size

    The requested size (in DB lingua: precision)

    int? precision

    The requested precision (in DB lingua: scale)

    Returns
    Type Description
    string

    The SQL type

    • Edit this page
    • View Source
    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.