語言

EdmScalarPropertyAttribute 類別

定義

在 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
繼承
EdmScalarPropertyAttribute
屬性

建構函式

名稱 Description
EdmScalarPropertyAttribute()

在 Intelity 中為純量屬性設計。 隱含預設 AttributeUsage properties 繼承=True,AllowMultiple=False,元資料系統預期此點,且只會查看這些屬性中的第一個,即使有更多屬性。

屬性

名稱 Description
EntityKeyProperty

取得或設定一個值,指示該屬性是否屬於實體鍵。

IsNullable

取得或設定該性質是否可以有空值的值。

適用於