Click or drag to resize

ObjectChangeTrackingExtensionsToUntrackedEnumerable Method

Iterates the given enumerable and returns an instance of given target collection type configured implementation where each item will be also converted to untracked objects.

Namespace:  TrackerDog
Assembly:  TrackerDog (in TrackerDog.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
public static IEnumerable ToUntrackedEnumerable(
	this IEnumerable enumerable,
	Type targetCollectionType
)

Parameters

enumerable
Type: System.CollectionsIEnumerable
The whole enumerable to untrack
targetCollectionType
Type: SystemType
The whole target collection type. This type should be a supported trackable collection type

Return Value

Type: IEnumerable
A copy of source enumerable turned into an untracked collection

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also