Click or drag to resize

EntityObjectExtensionsDuplicateT Method (T, IEnumerableEntityObject)

Duplicates the specified object.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static T Duplicate<T>(
	this T obj,
	params IEnumerable<EntityObject>[] childObjects
)
where T : EntityObject

Parameters

obj
Type: T
The object.
childObjects
Type: System.Collections.GenericIEnumerableEntityObject
The child objects to duplicate.

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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