Udostępnij za pośrednictwem


DataServiceCollection<T> Constructor

Include Protected Members
Include Inherited Members

Creates a new instance of the DataServiceCollection<T> class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DataServiceCollection<T>() Initializes a new instance of the DataServiceCollection<T> class.
Public method DataServiceCollection<T>(IEnumerable<T>) Initializes a new instance of the DataServiceCollection<T> class based on query execution.
Public method DataServiceCollection<T>(DataServiceContext) Initializes a new instance of the DataServiceCollection<T> class that uses the specified DataServiceContext.
Public method DataServiceCollection<T>(IEnumerable<T>, TrackingMode) Initializes a new instance of the DataServiceCollection<T> class based on query execution and with the specified tracking mode.
Public method DataServiceCollection<T>(DataServiceContext, String, Func<EntityChangedParams, Boolean>, Func<EntityCollectionChangedParams, Boolean>) Initializes a new instance of the DataServiceCollection<T> class with the supplied change method delegates and that uses the specified DataServiceContext.
Public method DataServiceCollection<T>(IEnumerable<T>, TrackingMode, String, Func<EntityChangedParams, Boolean>, Func<EntityCollectionChangedParams, Boolean>) Initializes a new instance of the DataServiceCollection<T> class based on query execution and with the supplied change method delegates.
Public method DataServiceCollection<T>(DataServiceContext, IEnumerable<T>, TrackingMode, String, Func<EntityChangedParams, Boolean>, Func<EntityCollectionChangedParams, Boolean>) Initializes a new instance of the DataServiceCollection<T> class based on query execution, with the supplied change method delegates, and that uses the supplied DataServiceContext.

Top

See Also

Reference

DataServiceCollection<T> Class

System.Data.Services.Client Namespace