RelationalDatabase 构造函数

定义

重载

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

初始化 RelationalDatabase 类的新实例。

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

初始化 RelationalDatabase 类的新实例。

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs
Source:
RelationalDatabase.cs

初始化 RelationalDatabase 类的新实例。

public RelationalDatabase (Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies dependencies, Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabase : Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies * Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseDependencies -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabase
Public Sub New (dependencies As DatabaseDependencies, relationalDependencies As RelationalDatabaseDependencies)

参数

dependencies
DatabaseDependencies

包含此服务基础依赖项的参数对象。

relationalDependencies
RelationalDatabaseDependencies

包含此服务的关系依赖项的参数对象。

适用于

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

初始化 RelationalDatabase 类的新实例。

public RelationalDatabase (Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory queryCompilationContextFactory, Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer batchPreparer, Microsoft.EntityFrameworkCore.Update.IBatchExecutor batchExecutor, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabase : Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory * Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer * Microsoft.EntityFrameworkCore.Update.IBatchExecutor * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabase
Public Sub New (queryCompilationContextFactory As IQueryCompilationContextFactory, batchPreparer As ICommandBatchPreparer, batchExecutor As IBatchExecutor, connection As IRelationalConnection)

参数

queryCompilationContextFactory
IQueryCompilationContextFactory

要使用的 IQueryCompilationContextFactory

batchPreparer
ICommandBatchPreparer

要使用的 ICommandBatchPreparer

batchExecutor
IBatchExecutor

要使用的 IBatchExecutor

connection
IRelationalConnection

要使用的 IRelationalConnection

适用于