This documentation is archived and is not being maintained.

EntityRef<TEntity> Constructor (IEnumerable<TEntity>)

Initializes a new instance of the EntityRef<TEntity> class by specifying the source.

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

public EntityRef(
	IEnumerable<TEntity> source


Type: System.Collections.Generic.IEnumerable<TEntity>

The reference source.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5