StoredProcedureBuilder<TEntity> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供一個簡單的 API,用於設定實體類型映射到的 。IMutableStoredProcedure
[System.Runtime.CompilerServices.Nullable(0)]
public class StoredProcedureBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity>> where TEntity : class
public class StoredProcedureBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity>> where TEntity : class
[<System.Runtime.CompilerServices.Nullable(0)>]
type StoredProcedureBuilder<'Entity (requires 'Entity : null)> = class
inherit StoredProcedureBuilder
interface IInfrastructure<EntityTypeBuilder<'Entity>>
type StoredProcedureBuilder<'Entity (requires 'Entity : null)> = class
inherit StoredProcedureBuilder
interface IInfrastructure<EntityTypeBuilder<'Entity>>
Public Class StoredProcedureBuilder(Of TEntity)
Inherits StoredProcedureBuilder
Implements IInfrastructure(Of EntityTypeBuilder(Of TEntity))
類型參數
- TEntity
正在設定的實體類型。
- 繼承
- 屬性
- 實作
-
IInfrastructure<EntityTypeBuilder<TEntity>>
建構函式
| 名稱 | Description |
|---|---|
| StoredProcedureBuilder<TEntity>(IMutableStoredProcedure, EntityTypeBuilder<TEntity>) |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
屬性
| 名稱 | Description |
|---|---|
| Builder |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 (繼承來源 StoredProcedureBuilder) |
| Metadata |
正在設定的儲存程序。 (繼承來源 StoredProcedureBuilder) |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| IInfrastructure<EntityTypeBuilder<TEntity>>.Instance |
提供一個簡單的 API,用於設定實體類型映射到的 。IMutableStoredProcedure |
| IInfrastructure<EntityTypeBuilder>.Instance |
提供一個簡單的 API,用於設定實體類型映射到的 。IMutableStoredProcedure (繼承來源 StoredProcedureBuilder) |
| IInfrastructure<IConventionStoredProcedureBuilder>.Instance |
取得隱藏財產的價值。 (繼承來源 StoredProcedureBuilder) |
擴充方法
| 名稱 | Description |
|---|---|
| GetInfrastructure<T>(IInfrastructure<T>) |
從一個被隱藏的屬性中取得價值 IInfrastructure<T>。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |