ODataEntityPropertyMappingCollection 类

表示可枚举的 EntityPropertyMappingAttribute,可以添加新项目。

继承层次结构

System.Object
  Microsoft.Data.OData.Metadata.ODataEntityPropertyMappingCollection

命名空间:  Microsoft.Data.OData.Metadata
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
Public NotInheritable Class ODataEntityPropertyMappingCollection _
    Implements IEnumerable(Of EntityPropertyMappingAttribute), IEnumerable
用法
Dim instance As ODataEntityPropertyMappingCollection
public sealed class ODataEntityPropertyMappingCollection : IEnumerable<EntityPropertyMappingAttribute>, 
    IEnumerable
public ref class ODataEntityPropertyMappingCollection sealed : IEnumerable<EntityPropertyMappingAttribute^>, 
    IEnumerable
[<SealedAttribute>]
type ODataEntityPropertyMappingCollection =  
    class
        interface IEnumerable<EntityPropertyMappingAttribute>
        interface IEnumerable
    end
public final class ODataEntityPropertyMappingCollection implements IEnumerable<EntityPropertyMappingAttribute>, IEnumerable

ODataEntityPropertyMappingCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 ODataEntityPropertyMappingCollection() 创建 ODataEntityPropertyMappingCollection 类的新实例。
公共方法 ODataEntityPropertyMappingCollection(IEnumerable<EntityPropertyMappingAttribute>) 创建 ODataEntityPropertyMappingCollection 类的新实例。

页首

方法

  名称 说明
公共方法 Add 添加“映射”到此类所表示的所有映射的列表中。
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator 返回此枚举中 EntityPropertyMappingAttribute 实例的枚举数。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IEnumerable.GetEnumerator 返回此枚举中 EntityPropertyMappingAttribute 实例的非泛型枚举数。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Data.OData.Metadata 命名空间