TypeUsage.ModelTypeUsage 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
傳回提供者類型的 Model 類型使用情況
命名空間: System.Data.Entity.Core.Metadata.Edm
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")> _
Public ReadOnly Property ModelTypeUsage As TypeUsage
Get
'用途
Dim instance As TypeUsage
Dim value As TypeUsage
value = instance.ModelTypeUsage
[SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public TypeUsage ModelTypeUsage { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public:
property TypeUsage^ ModelTypeUsage {
TypeUsage^ get ();
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")>]
member ModelTypeUsage : TypeUsage
function get ModelTypeUsage () : TypeUsage
屬性值
類型:System.Data.Entity.Core.Metadata.Edm.TypeUsage
Model (CSpace) 類型使用情況