EdmScalarPropertyAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 Intelity 中為純量屬性設計。 隱含預設 AttributeUsage properties 繼承=True,AllowMultiple=False,元資料系統預期此點,且只會查看這些屬性中的第一個,即使有更多屬性。
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class EdmScalarPropertyAttribute : System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
type EdmScalarPropertyAttribute = class
inherit EdmPropertyAttribute
Public NotInheritable Class EdmScalarPropertyAttribute
Inherits EdmPropertyAttribute
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| EdmScalarPropertyAttribute() |
在 Intelity 中為純量屬性設計。 隱含預設 AttributeUsage properties 繼承=True,AllowMultiple=False,元資料系統預期此點,且只會查看這些屬性中的第一個,即使有更多屬性。 |
屬性
| 名稱 | Description |
|---|---|
| EntityKeyProperty |
取得或設定一個值,指示該屬性是否屬於實體鍵。 |
| IsNullable |
取得或設定該性質是否可以有空值的值。 |