EntitySet<TEntity>.SetSource(IEnumerable<TEntity>) Method

Definition

Sets the source of the EntitySet<TEntity>.

public:
 void SetSource(System::Collections::Generic::IEnumerable<TEntity> ^ entitySource);
public void SetSource (System.Collections.Generic.IEnumerable<TEntity> entitySource);
member this.SetSource : seq<'Entity (requires 'Entity : null)> -> unit
Public Sub SetSource (entitySource As IEnumerable(Of TEntity))

Parameters

entitySource
IEnumerable<TEntity>

The source of the EntitySet<TEntity>.

Applies to