DataSource for Entity Framework in WPF
C1.Data.Entities Namespace / EntityFrameworkExtensions Class / AsCollectionView<T> Method
The type of the entities in the entities.
The EntityCollection to convert.

In This Topic
    AsCollectionView<T> Method
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Function AsCollectionView(Of T As {Class, IEntityWithRelationships})( _
       ByVal entities As EntityCollection(Of T) _
    ) As ICollectionView
    public static ICollectionView AsCollectionView<T>( 
       EntityCollection<T> entities
    )
    where T: class, IEntityWithRelationships

    Parameters

    entities
    The EntityCollection to convert.

    Type Parameters

    T
    The type of the entities in the entities.

    Return Value

    See Also