创建 ODataEntityPropertyMappingCollection 类的新实例。
命名空间: Microsoft.Data.OData.Metadata
程序集: Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)
语法
声明
Public Sub New ( _
other As IEnumerable(Of EntityPropertyMappingAttribute) _
)
用法
Dim other As IEnumerable(Of EntityPropertyMappingAttribute)
Dim instance As New ODataEntityPropertyMappingCollection(other)
public ODataEntityPropertyMappingCollection(
IEnumerable<EntityPropertyMappingAttribute> other
)
public:
ODataEntityPropertyMappingCollection(
IEnumerable<EntityPropertyMappingAttribute^>^ other
)
new :
other:IEnumerable<EntityPropertyMappingAttribute> -> ODataEntityPropertyMappingCollection
public function ODataEntityPropertyMappingCollection(
other : IEnumerable<EntityPropertyMappingAttribute>
)
参数
- other
类型:System.Collections.Generic.IEnumerable<EntityPropertyMappingAttribute>
可枚举用于初始化实例的 EntityPropertyMappingAttribute。此参数不得为 null。
请参阅
参考
ODataEntityPropertyMappingCollection 类