EdmFunctionPayload.EntitySets 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取或设置函数的实体集。

命名空间:  System.Data.Entity.Core.Metadata.Edm
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")> _
Public Property EntitySets As IList(Of EntitySet)
    Get 
    Set
用法
Dim instance As EdmFunctionPayload 
Dim value As IList(Of EntitySet)

value = instance.EntitySets

instance.EntitySets = value
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public IList<EntitySet> EntitySets { get; set; }
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2227:CollectionPropertiesShouldBeReadOnly")]
public:
property IList<EntitySet^>^ EntitySets {
    IList<EntitySet^>^ get ();
    void set (IList<EntitySet^>^ value);
}
[<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")>]
member EntitySets : IList<EntitySet> with get, set
function get EntitySets () : IList<EntitySet>
function set EntitySets (value : IList<EntitySet>)

属性值

类型:System.Collections.Generic.IList<EntitySet>
函数的实体集。

请参阅

参考

EdmFunctionPayload 类

System.Data.Entity.Core.Metadata.Edm 命名空间