RuntimeIndex 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| RuntimeIndex(IReadOnlyList<RuntimeProperty>, RuntimeEntityType, String, Boolean) |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
| RuntimeIndex(IReadOnlyList<RuntimePropertyBase>, RuntimeEntityType, String, Boolean, IReadOnlyList<IReadOnlyList<Nullable<Int32>>>) |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
RuntimeIndex(IReadOnlyList<RuntimeProperty>, RuntimeEntityType, String, Boolean)
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeIndex(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty> properties, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType declaringEntityType, string? name, bool unique);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty> * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * string * bool -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
Public Sub New (properties As IReadOnlyList(Of RuntimeProperty), declaringEntityType As RuntimeEntityType, name As String, unique As Boolean)
參數
- properties
- IReadOnlyList<RuntimeProperty>
- declaringEntityType
- RuntimeEntityType
- name
- String
- unique
- Boolean
- 屬性
適用於
RuntimeIndex(IReadOnlyList<RuntimePropertyBase>, RuntimeEntityType, String, Boolean, IReadOnlyList<IReadOnlyList<Nullable<Int32>>>)
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeIndex(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.RuntimePropertyBase> properties, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType declaringEntityType, string? name, bool unique, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<int?>?>? collectionIndices);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.RuntimePropertyBase> * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * string * bool * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<Nullable<int>>> -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
Public Sub New (properties As IReadOnlyList(Of RuntimePropertyBase), declaringEntityType As RuntimeEntityType, name As String, unique As Boolean, collectionIndices As IReadOnlyList(Of IReadOnlyList(Of Nullable(Of Integer))))
參數
- properties
- IReadOnlyList<RuntimePropertyBase>
- declaringEntityType
- RuntimeEntityType
- name
- String
- unique
- Boolean
- collectionIndices
- IReadOnlyList<IReadOnlyList<Nullable<Int32>>>
- 屬性