语言

EdmComplexPropertyAttribute 类

定义

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

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class EdmComplexPropertyAttribute : System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
type EdmComplexPropertyAttribute = class
    inherit EdmPropertyAttribute
Public NotInheritable Class EdmComplexPropertyAttribute
Inherits EdmPropertyAttribute
继承
EdmComplexPropertyAttribute
特性

构造函数

名称 说明
EdmComplexPropertyAttribute()

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

适用于