EntityCollection<TEntity>.IListSource.GetList Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the collection as an IList used for data binding.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

IList IListSource.GetList()

Return Value

Type: System.Collections.IList

An IList of entity objects.

This member is an explicit interface member implementation. It can be used only when the EntityCollection<TEntity> instance is cast to an IListSource interface.

This method enables data binding to an EntityCollection<TEntity>. It is called by the control bound to the collection. For more information, see Binding Objects to Controls.

.NET Framework
Available since 3.5
Return to top
Show: