ObjectConstructorInfo.Default Property

Provides access to the default object constructor.

Namespace: DevExpress.DataAccess.ObjectBinding

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public static ObjectConstructorInfo Default { get; }
Public Shared ReadOnly Property Default As ObjectConstructorInfo

Property Value

Type Description
ObjectConstructorInfo

An ObjectConstructorInfo value containing settings of the default object constructor.

Remarks

If it is required that on calling the ObjectDataSource.Fill method, an ObjectDataSource should create an instance of the type specified by its ObjectDataSource.DataSource property, use the ObjectDataSource.Constructor property to specify the required constructor parameters. To assign a constructor without parameters, use the static ObjectConstructorInfo.Default object.

See Also