Search Results for

    Show / Hide Table of Contents

    Class ReflectionBasedDbFactory

    Inheritance
    object
    DbFactoryBase
    ReflectionBasedDbFactory
    Db2DbFactory
    Db2ISeriesDbFactory
    DotConnectOracleDbFactory
    FirebirdDbFactory
    HanaDbFactory
    MySqlDbFactory
    OracleDbFactory
    OracleManagedDbFactory
    PostgresDbFactory
    RedshiftDbFactory
    SQLiteDbFactory
    SqlServerCeDbFactory
    Implements
    IDbFactory
    Inherited Members
    DbFactoryBase.Factory
    DbFactoryBase.CreateConnection(string)
    DbFactoryBase.CreateCommand(string, IDbConnection, IDbTransaction, IMigrationProcessorOptions)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Processors
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class ReflectionBasedDbFactory : DbFactoryBase, IDbFactory

    Constructors

    ReflectionBasedDbFactory(params TestEntry[])

    Declaration
    protected ReflectionBasedDbFactory(params ReflectionBasedDbFactory.TestEntry[] testEntries)
    Parameters
    Type Name Description
    TestEntry[] testEntries

    ReflectionBasedDbFactory(string, string)

    Declaration
    public ReflectionBasedDbFactory(string assemblyName, string dbProviderFactoryTypeName)
    Parameters
    Type Name Description
    string assemblyName
    string dbProviderFactoryTypeName

    Methods

    CreateFactory()

    Declaration
    protected override DbProviderFactory CreateFactory()
    Returns
    Type Description
    DbProviderFactory
    Overrides
    DbFactoryBase.CreateFactory()

    TryCreateFactory(IEnumerable<TestEntry>, ICollection<Exception>, out DbProviderFactory)

    Declaration
    protected static bool TryCreateFactory(IEnumerable<ReflectionBasedDbFactory.TestEntry> entries, ICollection<Exception> exceptions, out DbProviderFactory factory)
    Parameters
    Type Name Description
    IEnumerable<ReflectionBasedDbFactory.TestEntry> entries
    ICollection<Exception> exceptions
    DbProviderFactory factory
    Returns
    Type Description
    bool

    TryCreateFactoryFromRuntimeHost(TestEntry, ICollection<Exception>, out DbProviderFactory)

    Declaration
    protected static bool TryCreateFactoryFromRuntimeHost(ReflectionBasedDbFactory.TestEntry entry, ICollection<Exception> exceptions, out DbProviderFactory factory)
    Parameters
    Type Name Description
    ReflectionBasedDbFactory.TestEntry entry
    ICollection<Exception> exceptions
    DbProviderFactory factory
    Returns
    Type Description
    bool

    TryCreateFromAppDomainPaths(TestEntry, ICollection<Exception>, out DbProviderFactory)

    Declaration
    protected static bool TryCreateFromAppDomainPaths(ReflectionBasedDbFactory.TestEntry entry, ICollection<Exception> exceptions, out DbProviderFactory factory)
    Parameters
    Type Name Description
    ReflectionBasedDbFactory.TestEntry entry
    ICollection<Exception> exceptions
    DbProviderFactory factory
    Returns
    Type Description
    bool

    TryLoadAssemblyFromAppDomainDirectories(string, ICollection<Exception>, out Assembly)

    Declaration
    protected static bool TryLoadAssemblyFromAppDomainDirectories(string assemblyName, ICollection<Exception> exceptions, out Assembly assembly)
    Parameters
    Type Name Description
    string assemblyName
    ICollection<Exception> exceptions
    Assembly assembly
    Returns
    Type Description
    bool

    TryLoadAssemblyFromDirectories(IEnumerable<string>, string, ICollection<Exception>, out Assembly)

    Declaration
    protected static bool TryLoadAssemblyFromDirectories(IEnumerable<string> directories, string assemblyName, ICollection<Exception> exceptions, out Assembly assembly)
    Parameters
    Type Name Description
    IEnumerable<string> directories
    string assemblyName
    ICollection<Exception> exceptions
    Assembly assembly
    Returns
    Type Description
    bool

    Implements

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