Search Results for

    Show / Hide Table of Contents

    Class DefaultSchemaNameConvention

    The default implementation of the IDefaultSchemaNameConvention

    Inheritance
    object
    DefaultSchemaNameConvention
    Implements
    IDefaultSchemaNameConvention
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Conventions
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class DefaultSchemaNameConvention : IDefaultSchemaNameConvention

    Constructors

    DefaultSchemaNameConvention(string)

    Initializes a new instance of the IDefaultSchemaNameConvention class.

    Declaration
    public DefaultSchemaNameConvention(string defaultSchemaName)
    Parameters
    Type Name Description
    string defaultSchemaName

    The default schema name (can be null or empty)

    Methods

    GetSchemaName(string)

    Returns the default schema name depending on the original schema name

    Declaration
    public string GetSchemaName(string originalSchemaName)
    Parameters
    Type Name Description
    string originalSchemaName

    The original schema name

    Returns
    Type Description
    string

    Returns the originalSchemaName when the default schema name is null or empty and returns the new default schema name when the originalSchemaName is null or empty

    Implements

    IDefaultSchemaNameConvention
    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.