RelationalDatabase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- batchPreparer
- ICommandBatchPreparer
要使用的 ICommandBatchPreparer。
- batchExecutor
- IBatchExecutor
要使用的 IBatchExecutor。
- connection
- IRelationalConnection
要使用的 IRelationalConnection。