DatabaseOperations DatabaseOperations Class

Syntax

Declaration

public class DatabaseOperationsPublic Class DatabaseOperations

Inheritance Hierarchy

  • System.Object
    System.Object
  • DatabaseOperations
    DatabaseOperations

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

  • DatabaseOperations(IOperationReporter, Assembly, String, String, String, String)
    DatabaseOperations(IOperationReporter, Assembly, String, String, String, String)
    public DatabaseOperations(IOperationReporter reporter, Assembly startupAssembly, string environment, string projectDir, string contentRootPath, string rootNamespace)Public Sub New(reporter As IOperationReporter, startupAssembly As Assembly, environment As String, projectDir As String, contentRootPath As String, rootNamespace As String)

    Parameters

    • reporter
    • startupAssembly
      System.Reflection.Assembly
      System.Reflection.Assembly
    • environment
      System.String
      System.String
    • projectDir
      System.String
      System.String
    • contentRootPath
      System.String
      System.String
    • rootNamespace
      System.String
      System.String

Methods

  • ReverseEngineerAsync(String, String, String, String, IEnumerable<String>, IEnumerable<String>, Boolean, Boolean, CancellationToken)
    ReverseEngineerAsync(String, String, String, String, IEnumerable(Of String), IEnumerable(Of String), Boolean, Boolean, CancellationToken)
    public virtual Task<ReverseEngineerFiles> ReverseEngineerAsync(string provider, string connectionString, string outputDir, string dbContextClassName, IEnumerable<string> schemas, IEnumerable<string> tables, bool useDataAnnotations, bool overwriteFiles, CancellationToken cancellationToken = null)Public Overridable Function ReverseEngineerAsync(provider As String, connectionString As String, outputDir As String, dbContextClassName As String, schemas As IEnumerable(Of String), tables As IEnumerable(Of String), useDataAnnotations As Boolean, overwriteFiles As Boolean, cancellationToken As CancellationToken = Nothing) As Task(Of ReverseEngineerFiles)

    Parameters

    • provider
      System.String
      System.String
    • connectionString
      System.String
      System.String
    • outputDir
      System.String
      System.String
    • dbContextClassName
      System.String
      System.String
    • schemas
      System.Collections.Generic.IEnumerable<T><System.String>
      System.Collections.Generic.IEnumerable<T>(Of System.String)
    • tables
      System.Collections.Generic.IEnumerable<T><System.String>
      System.Collections.Generic.IEnumerable<T>(Of System.String)
    • useDataAnnotations
      System.Boolean
      System.Boolean
    • overwriteFiles
      System.Boolean
      System.Boolean
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll