RuntimeTypeMappingConfiguration 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示純量類型組態。
public sealed class RuntimeTypeMappingConfiguration : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration
type RuntimeTypeMappingConfiguration = class
inherit AnnotatableBase
interface ITypeMappingConfiguration
interface IAnnotatable
interface IReadOnlyAnnotatable
Public NotInheritable Class RuntimeTypeMappingConfiguration
Inherits AnnotatableBase
Implements ITypeMappingConfiguration
- 繼承
- 實作
備註
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
建構函式
RuntimeTypeMappingConfiguration(Type, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, ValueConverter) |
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。 |
屬性
ClrType |
取得這個類似屬性的物件所保存的值型別。 |
IsReadOnly |
指出目前物件是否為唯讀。 (繼承來源 AnnotatableBase) |
Item[String] |
取得具有指定名稱的值批註,如果不存在,則 |
方法
明確介面實作
擴充方法
AnnotationsToDebugString(IAnnotatable, Int32) |
取得 物件上宣告之所有注釋的偵錯字串。 |