DbContextOptionsBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DbContextOptionsBuilder() |
Initializes a new instance of the DbContextOptionsBuilder class with no options set. |
DbContextOptionsBuilder(DbContextOptions) |
Initializes a new instance of the DbContextOptionsBuilder class to further configure a given DbContextOptions. |
DbContextOptionsBuilder()
Initializes a new instance of the DbContextOptionsBuilder class with no options set.
public DbContextOptionsBuilder ();
Public Sub New ()
Applies to
DbContextOptionsBuilder(DbContextOptions)
Initializes a new instance of the DbContextOptionsBuilder class to further configure a given DbContextOptions.
public DbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.EntityFrameworkCore.DbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.EntityFrameworkCore.DbContextOptionsBuilder
Public Sub New (options As DbContextOptions)
Parameters
- options
- DbContextOptions
The options to be configured.
Applies to
Entity Framework