DatabaseProviderServices 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
EF 所需的基本服務集,可供資料庫提供者運作。
此類型通常是由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public abstract class DatabaseProviderServices : Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices
type DatabaseProviderServices = class
interface IDatabaseProviderServices
Public MustInherit Class DatabaseProviderServices
Implements IDatabaseProviderServices
- 繼承
-
DatabaseProviderServices
- 衍生
- 實作
Compiled |
ICompiledQueryCacheKeyGenerator取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (CompiledQueryCacheKeyGenerator) ,以提供基本功能,但視需要可以覆寫。 |
Convention |
資料庫提供者的慣例設定產生器。 根據預設,這會傳回 null,這表示將使用預設值 Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilder 。 |
Creator |
IDatabaseCreator取得資料庫提供者的 。 |
Database |
IDatabase取得資料庫提供者的 。 |
Entity |
IEntityQueryableExpressionVisitorFactory取得資料庫提供者的 。 |
Entity |
IEntityQueryModelVisitorFactory取得資料庫提供者的 。 |
Execution |
IExecutionStrategyFactory取得資料庫提供者的 。 |
Expression |
Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (Microsoft.EntityFrameworkCore.Query.Internal.ExpressionPrinter) ,以提供基本功能,但視需要可以覆寫。 |
Invariant |
用來識別資料庫提供者的唯一名稱。 這應該與提供者執行時間的 NuGet 套件名稱相同。 |
Model |
IModelSource取得資料庫提供者的 。 |
Model |
Microsoft.EntityFrameworkCore.Internal.IModelValidator取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (Microsoft.EntityFrameworkCore.Internal.LoggingModelValidator) ,以提供基本功能,但視需要可以覆寫。 |
Projection |
IProjectionExpressionVisitorFactory取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ProjectionExpressionVisitorFactory) ,以提供基本功能,但視需要可以覆寫。 |
Query |
IQueryCompilationContextFactory取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (ValueGeneratorSelector) ,以提供基本功能,但視需要可以覆寫。 |
Query |
IQueryContextFactory取得資料庫提供者的 。 |
Result |
IResultOperatorHandler取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (ResultOperatorHandler) ,以提供基本功能,但視需要可以覆寫。 |
Services |
取得要解析服務的服務提供者。 |
Transaction |
IDbContextTransactionManager取得資料庫提供者的 。 |
Value |
IValueGeneratorCache取得資料庫提供者的 。 |
Value |
IValueGeneratorSelector取得資料庫提供者的 。 根據預設,EF 會註冊預設實作 (ValueGeneratorSelector) ,以提供基本功能,但視需要可以覆寫。 |
Get |
從 Services 解析必要的服務。 |
產品 | 版本 |
---|---|
Entity Framework Core | 1.0, 1.1 |