src/Curiosity.Migrations/MigrationProviders/ScriptMigrationsProvider.cs
/// <summary>
/// Setup assembly where script migrations embedded
/// </summary>
/// <param name="assembly"></param>
/// <param name="prefix">Specific part of name or namespace part. If no prefix specified provider will process only files without any prefix</param>
/// <returns></returns>
/// <exception cref="ArgumentNullException"></exception>
Setup assembly where script migrations embedded
Setup assembly where script migrations embedded
public ScriptMigrationsProvider FromAssembly(Assembly assembly, string prefix = null)
        {
            if (assembly == null) throw new ArgumentNullException(nameof(assembly));
            _assembliesWithPrefix[assembly] = prefix;
            return this;
        }
public ScriptMigrationsProvider FromAssembly ( Assembly assembly , string prefix = null ) { if ( assembly == null ) throw new ArgumentNullException ( nameof ( assembly ) ) ; _assembliesWithPrefix [ assembly ] = prefix ; return this ; }
Setup assembly where script migrations embedded
Setup assembly where script migrations embedded
None
None
assembly
Assembly
None
prefix
string
Specific part of name or namespace part. If no prefix specified provider will process only files without any prefix
Specific part of name or namespace part . If no prefix specified provider will process only files without any prefix