EntityCollection<TEntity>.IListSource.ContainsListCollection Property

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

IListSource.ContainsListCollection implementation. Always returns false. This means that the IList we return is the one which contains our actual data, it is not a list of collections.

Namespace:  System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property ContainsListCollection As Boolean 
    Implements IListSource.ContainsListCollection 
    Get
'Usage
Dim instance As EntityCollection 
Dim value As Boolean 

value = CType(instance, IListSource).ContainsListCollection
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
bool IListSource.ContainsListCollection { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual property bool ContainsListCollection {
    bool get () sealed = IListSource::ContainsListCollection::get;
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract ContainsListCollection : bool
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override ContainsListCollection : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Boolean

Implements

IListSource.ContainsListCollection

See Also

Reference

EntityCollection<TEntity> Class

System.Data.Entity.Core.Objects.DataClasses Namespace