语言

EdmPropertyAttribute 类

定义

映射到存储元素的属性的基属性。 隐含的默认 AttributeUsage 属性 Inherited=True、AllowMultiple=False,元数据系统需要这一点,并且只会查看其中每个属性中的第一个,即使还有其他属性也是如此。

[System.AttributeUsage(System.AttributeTargets.Property)]
public abstract class EdmPropertyAttribute : Attribute
type EdmPropertyAttribute = class
    inherit Attribute
Public MustInherit Class EdmPropertyAttribute
Inherits Attribute
继承
EdmPropertyAttribute
派生
特性

适用于