Search Results for

    Show / Hide Table of Contents

    Class TypeMapBase

    Inheritance
    object
    TypeMapBase
    OracleTypeMap
    OracleTypeMap
    SqlAnywhere16TypeMap
    SqlAnywhere16TypeMap
    SqlServer2000TypeMap
    SqlServer2000TypeMap
    SqlServerCeTypeMap
    SqlServerCeTypeMap
    Implements
    ITypeMap
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Generators.Base
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public abstract class TypeMapBase : ITypeMap

    Constructors

    | Edit this page View Source

    TypeMapBase()

    Declaration
    protected TypeMapBase()

    Fields

    | Edit this page View Source

    PrecisionPlaceholder

    Declaration
    protected const string PrecisionPlaceholder = "$precision"
    Field Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetTypeMap(DbType, int, int)

    Get the SQL type for a DbType

    Declaration
    [Obsolete]
    public virtual 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
    public virtual 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

    SetTypeMap(DbType, string)

    Declaration
    protected void SetTypeMap(DbType type, string template)
    Parameters
    Type Name Description
    DbType type
    string template
    | Edit this page View Source

    SetTypeMap(DbType, string, int)

    Declaration
    protected void SetTypeMap(DbType type, string template, int maxSize)
    Parameters
    Type Name Description
    DbType type
    string template
    int maxSize
    | Edit this page View Source

    SetupTypeMaps()

    Declaration
    protected abstract void SetupTypeMaps()

    Implements

    ITypeMap
    • 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.