Skip to main content
A newer version of this page is available. .

ObjectConstructorInfo.Default Property

Provides access to the default object constructor.

Namespace: DevExpress.DataAccess.ObjectBinding

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

public static ObjectConstructorInfo Default { get; }

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