'Declaration Public Overloads Shared Function AsLive(Of T As Class)( _ ByVal pocoCollection As ICollection(Of T), _ ByVal scope As EntityClientScope _ ) As View(Of T)
public static View<T> AsLive<T>( ICollection<T> pocoCollection, EntityClientScope scope ) where T: class
Parameters
- pocoCollection
- The entity collection to convert. It must be of type EntityCollection.
- scope
- The EntityClientScope to which the entity owning this collection belongs (in which it was fetched by a query or created).
Type Parameters
- T
- The type of the entities in the pocoCollection.
Return Value
The resulting live view.