Share via


LocalView<TEntity>.ToBindingList Metodo

Definizione

Restituisce un'implementazione BindingList<T> che rimane sincronizzata con questa raccolta. Usare questa opzione per l'associazione dati WinForms.

public virtual System.ComponentModel.BindingList<TEntity> ToBindingList ();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")]
public virtual System.ComponentModel.BindingList<TEntity> ToBindingList ();
abstract member ToBindingList : unit -> System.ComponentModel.BindingList<'Entity (requires 'Entity : null)>
override this.ToBindingList : unit -> System.ComponentModel.BindingList<'Entity (requires 'Entity : null)>
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")>]
abstract member ToBindingList : unit -> System.ComponentModel.BindingList<'Entity (requires 'Entity : null)>
override this.ToBindingList : unit -> System.ComponentModel.BindingList<'Entity (requires 'Entity : null)>
Public Overridable Function ToBindingList () As BindingList(Of TEntity)

Restituisce

BindingList<TEntity>

Elenco di associazioni.

Attributi

Commenti

Per altre informazioni ed esempi, vedere Visualizzazioni locali delle entità rilevate in EF Core .

Si applica a