Share via


DbQuery<TResult>.IListSource.GetList Method

Definition

Throws an exception indicating that binding directly to a store query is not supported. Instead populate a DbSet with data, for example by using the Load extension method, and then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to DbSet.Local.ToBindingList().

System.Collections.IList IListSource.GetList();
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
System.Collections.IList IListSource.GetList();
Function GetList () As IList Implements IListSource.GetList

Returns

Never returns; always throws.

Implements

Attributes

Applies to