Share via


CoreStrings.DataBindingWithIListSource Property

Definition

Data binding directly to a store query is not supported. Instead populate a DbSet with data, for example by calling 'Load' on the DbSet, and then bind to local data to avoid sending a query to the database each time the databound control iterates the data. For WPF, bind to 'DbSet.Local.ToObservableCollection'. For WinForms, bind to 'DbSet.Local.ToBindingList'. For ASP.NET WebForms, bind to 'DbSet.ToList' or use Model Binding.

public static string DataBindingWithIListSource { get; }
static member DataBindingWithIListSource : string
Public Shared ReadOnly Property DataBindingWithIListSource As String

Property Value

Applies to