EdmTypeAttribute 类
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
程式化类型的基特性
继承层次结构
System.Object
System.Attribute
System.Data.Entity.Core.Objects.DataClasses.EdmTypeAttribute
System.Data.Entity.Core.Objects.DataClasses.EdmComplexTypeAttribute
System.Data.Entity.Core.Objects.DataClasses.EdmEntityTypeAttribute
System.Data.Entity.Core.Objects.DataClasses.EdmEnumTypeAttribute
命名空间: System.Data.Entity.Core.Objects.DataClasses
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public MustInherit Class EdmTypeAttribute _
Inherits Attribute
用法
Dim instance As EdmTypeAttribute
public abstract class EdmTypeAttribute : Attribute
public ref class EdmTypeAttribute abstract : public Attribute
[<AbstractClassAttribute>]
type EdmTypeAttribute =
class
inherit Attribute
end
public abstract class EdmTypeAttribute extends Attribute
EdmTypeAttribute 类型公开以下成员。
属性
名称 | 描述 | |
---|---|---|
Name | 概念性架构中类型的名称,该类型映射到此属性所应用于的类。 | |
NamespaceName | 概念性架构中映射到此类型的实体对象类型或复杂类型的命名空间名称。 | |
TypeId | (继承自 Attribute。) |
顶部
方法
名称 | 描述 | |
---|---|---|
Equals | (继承自 Attribute。) | |
Finalize | (继承自 Object。) | |
GetHashCode | (继承自 Attribute。) | |
GetType | (继承自 Object。) | |
IsDefaultAttribute | (继承自 Attribute。) | |
Match | (继承自 Attribute。) | |
MemberwiseClone | (继承自 Object。) | |
ToString | (继承自 Object。) |
顶部
显式接口实现
名称 | 描述 | |
---|---|---|
_Attribute.GetIDsOfNames | (继承自 Attribute。) | |
_Attribute.GetTypeInfo | (继承自 Attribute。) | |
_Attribute.GetTypeInfoCount | (继承自 Attribute。) | |
_Attribute.Invoke | (继承自 Attribute。) |
顶部
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。