Partager via


DataServiceCollection<T> Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework 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>() Creates a new instance of the DataServiceCollection<T> class with automatic change tracking enabled.
Public method DataServiceCollection<T>(DataServiceContext) Creates a new instance of the DataServiceCollection<T> class that uses the specified DataServiceContext.
Public method DataServiceCollection<T>(IEnumerable<T>) Creates a new instance of the DataServiceCollection<T> class based on query execution.
Public method DataServiceCollection<T>(IEnumerable<T>, TrackingMode) Creates 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>) Creates 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>) Creates a new instance of the DataServiceCollection<T> class a 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>) Creates a new instance of the DataServiceCollection<T> class a based on query execution, with the supplied change method delegates, and that uses the supplied DataServiceContext.

Top