MigrationsScaffolder MigrationsScaffolder Class

Syntax

Declaration

public class MigrationsScaffolderPublic Class MigrationsScaffolder

Inheritance Hierarchy

  • System.Object
    System.Object
  • MigrationsScaffolder
    MigrationsScaffolder

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Methods summary

Constructors

Methods

  • GetDirectory(String, String, String)
    GetDirectory(String, String, String)
    protected virtual string GetDirectory(string projectDir, string siblingFileName, string subnamespace)Protected Overridable Function GetDirectory(projectDir As String, siblingFileName As String, subnamespace As String) As String

    Parameters

    • projectDir
      System.String
      System.String
    • siblingFileName
      System.String
      System.String
    • subnamespace
      System.String
      System.String

    Returns

    • System.String
      System.String
  • GetNamespace(Type, String)
    GetNamespace(Type, String)
    protected virtual string GetNamespace(Type siblingType, string defaultNamespace)Protected Overridable Function GetNamespace(siblingType As Type, defaultNamespace As String) As String

    Parameters

    • siblingType
      System.Type
      System.Type
    • defaultNamespace
      System.String
      System.String

    Returns

    • System.String
      System.String
  • GetSubNamespace(String, String)
    GetSubNamespace(String, String)
    protected virtual string GetSubNamespace(string rootNamespace, string namespace)Protected Overridable Function GetSubNamespace(rootNamespace As String, namespace As String) As String

    Parameters

    • rootNamespace
      System.String
      System.String
    • namespace
      System.String
      System.String

    Returns

    • System.String
      System.String
  • RemoveMigration(String, String, Boolean)
    RemoveMigration(String, String, Boolean)
    public virtual MigrationFiles RemoveMigration(string projectDir, string rootNamespace, bool force)Public Overridable Function RemoveMigration(projectDir As String, rootNamespace As String, force As Boolean) As MigrationFiles

    Parameters

    • projectDir
      System.String
      System.String
    • rootNamespace
      System.String
      System.String
    • force
      System.Boolean
      System.Boolean

    Returns

  • Save(String, ScaffoldedMigration, String)
    Save(String, ScaffoldedMigration, String)
    public virtual MigrationFiles Save(string projectDir, ScaffoldedMigration migration, string outputDir)Public Overridable Function Save(projectDir As String, migration As ScaffoldedMigration, outputDir As String) As MigrationFiles

    Parameters

    Returns

  • ScaffoldMigration(String, String, String)
    ScaffoldMigration(String, String, String)
    public virtual ScaffoldedMigration ScaffoldMigration(string migrationName, string rootNamespace, string subNamespace = null)Public Overridable Function ScaffoldMigration(migrationName As String, rootNamespace As String, subNamespace As String = Nothing) As ScaffoldedMigration

    Parameters

    • migrationName
      System.String
      System.String
    • rootNamespace
      System.String
      System.String
    • subNamespace
      System.String
      System.String

    Returns

  • TryGetProjectFile(String, String)
    TryGetProjectFile(String, String)
    protected virtual string TryGetProjectFile(string projectDir, string fileName)Protected Overridable Function TryGetProjectFile(projectDir As String, fileName As String) As String

    Parameters

    • projectDir
      System.String
      System.String
    • fileName
      System.String
      System.String

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll