Converts an EntityCollection<(Of <(<'TEntity>)>)> to an editable live view.

Namespace:  C1.Data.Entities
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public static View<T> AsLive<T>(
	this EntityCollection<T> entities
)
where T : class, IEntityWithRelationships
Visual Basic
<ExtensionAttribute> _
Public Shared Function AsLive(Of T As {Class, IEntityWithRelationships}) ( _
	entities As EntityCollection(Of T) _
) As View(Of T)

Parameters

entities
Type: System.Data.Objects.DataClasses..::..EntityCollection<(Of <(<'T>)>)>
The entity collection to convert.

Type Parameters

T
The type of the entities in the entities.

Return Value

The resulting live view.

See Also