SetSource Method

EntitySet<TEntity>.SetSource Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the source of the EntitySet<TEntity>.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public void SetSource(
	IEnumerable<TEntity> entitySource
)

Parameters

entitySource
Type: System.Collections.Generic.IEnumerable<TEntity>
The source of the EntitySet<TEntity>.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft