StructuralTypeConfiguration<TStructuralType> 類別
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
允許針對模型中的類型執行組態。
繼承階層
System.Object
System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TStructuralType>
System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>
System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>
命名空間: System.Data.Entity.ModelConfiguration.Configuration
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public MustInherit Class StructuralTypeConfiguration(Of TStructuralType As Class)
'用途
Dim instance As StructuralTypeConfiguration(Of TStructuralType)
public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class
generic<typename TStructuralType>
where TStructuralType : ref class
public ref class StructuralTypeConfiguration abstract
[<AbstractClassAttribute>]
type StructuralTypeConfiguration<'TStructuralType when 'TStructuralType : not struct> = class end
JScript does not support generic types and methods.
類型參數
- TStructuralType
要設定的類型。
StructuralTypeConfiguration<TStructuralType> 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
StructuralTypeConfiguration<TStructuralType> | 初始化 StructuralTypeConfiguration<TStructuralType> 類別的新執行個體。 |
靠上
方法
靠上
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。並非所有的執行個體成員都是安全執行緒。