Click or drag to resize
LinqUtilsCreateObjectCreatorFuncInstanceTObject Method (ConstructorInfo)
Creates the object creator func instance for instantiating objects of type TObject using the constructor passed in.

Namespace: SD.LLBLGen.Pro.LinqSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public static ObjectCreatorFunc<TObject> CreateObjectCreatorFuncInstance<TObject>(
	ConstructorInfo constructor
)

Parameters

constructor
Type: System.ReflectionConstructorInfo
The constructor to use for creating the delegate.

Type Parameters

TObject
The type of the object.

Return Value

Type: ObjectCreatorFuncTObject
an instance of the ObjectCreatorFunc for the TObject type so quickly new TObject instances can be created..
Remarks
Thanks to Roger Alsing for the idea: http://rogeralsing.com/
See Also