RelationalConnection 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
RelationalConnection(RelationalConnectionDependencies) |
Initializes a new instance of the RelationalConnection class. |
RelationalConnection(IDbContextOptions, ILogger) |
Initializes a new instance of the IRelationalConnection class. |
RelationalConnection(RelationalConnectionDependencies)
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
- Source:
- RelationalConnection.cs
Initializes a new instance of the RelationalConnection class.
protected RelationalConnection (Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.RelationalConnection : Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies -> Microsoft.EntityFrameworkCore.Storage.RelationalConnection
Protected Sub New (dependencies As RelationalConnectionDependencies)
Parameters
- dependencies
- RelationalConnectionDependencies
Parameter object containing dependencies for this service.
Applies to
RelationalConnection(IDbContextOptions, ILogger)
Initializes a new instance of the IRelationalConnection class.
protected RelationalConnection (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.EntityFrameworkCore.Storage.RelationalConnection : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.Extensions.Logging.ILogger -> Microsoft.EntityFrameworkCore.Storage.RelationalConnection
Protected Sub New (options As IDbContextOptions, logger As ILogger)
Parameters
- options
- IDbContextOptions
The options for the context that this connection will be used with.
- logger
- ILogger
The logger to write to.
Applies to
Entity Framework