ObjectQuery.IListSource.GetList, méthode
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Retourne la collection sous la forme d'un objet IList utilisé pour la liaison de données.
Espace de noms : System.Data.Entity.Core.Objects
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetList As IList
Implements IListSource.GetList
'Utilisation
Dim instance As ObjectQuery
Dim returnValue As IList
returnValue = CType(instance, IListSource).GetList()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IList IListSource.GetList()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IList^ GetList() sealed = IListSource::GetList
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetList : unit -> IList
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetList : unit -> IList
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Valeur de retour
Type : System.Collections.IList
IList d'objets entité.