DbContextFactoryOptions DbContextFactoryOptions Class

Provides information about the environment an application is running in.

Syntax

Declaration

public class DbContextFactoryOptionsPublic Class DbContextFactoryOptions

Inheritance Hierarchy

  • System.Object
    System.Object
  • DbContextFactoryOptions
    DbContextFactoryOptions

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()

Properties summary

Gets or sets the directory containing the application.

Gets or sets the directory containing the application content files.

Gets or sets the name of the environment.

Properties

  • ApplicationBasePath
    ApplicationBasePath

    Gets or sets the directory containing the application.

    public virtual string ApplicationBasePath { get; set; }Public Overridable Property ApplicationBasePath As String

    Property Value

    • System.String
      System.String
  • ContentRootPath
    ContentRootPath

    Gets or sets the directory containing the application content files.

    public virtual string ContentRootPath { get; set; }Public Overridable Property ContentRootPath As String

    Property Value

    • System.String
      System.String
  • EnvironmentName
    EnvironmentName

    Gets or sets the name of the environment.

    public virtual string EnvironmentName { get; set; }Public Overridable Property EnvironmentName As String

    Property Value

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.dll