Class DynamicDataCollection<T>
Collection class that implements lazy loading of items from the Dynamic Data Store
Inheritance
System.Object
    DynamicDataCollection<T>
  Implements
System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 7.19.2Syntax
public sealed class DynamicDataCollection<T> : IEnumerable<T>, IEnumerableType Parameters
| Name | Description | 
|---|---|
| T | The System.Type of items in the collection | 
Constructors
DynamicDataCollection(IList<Identity>, DynamicDataStore, LoadAsObjectType)
Construct a new collection
Declaration
public DynamicDataCollection(IList<Identity> identities, DynamicDataStore store, LoadAsObjectType loadObjectsAs)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IList<Identity> | identities | The identities of the items that the collection will contain | 
| DynamicDataStore | store | The store the collection items should be read from | 
| LoadAsObjectType | loadObjectsAs | How objects should be loaded | 
Methods
GetEnumerator()
Get a enumerator for the collection
Declaration
public IEnumerator<T> GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<T> | An System.Collections.Generic.IEnumerator<T> instance | 
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Get a enumerator for the collection
Declaration
IEnumerator IEnumerable.GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | An System.Collections.IEnumerator instance | 
Implements
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IEnumerable
  
  