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

SimpleDataLayer.CreateCommand() Method

Creates a command if the data store allows commands to be created.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public override IDbCommand CreateCommand()

Returns

Type Description
IDbCommand

A IDbCommand command that is executed when connected to the data store; null if the data store doesn’t allow commands to be created.

Remarks

This method is used to initialize the SchemaInitEventArgs.Command parameter of the IDataLayer.SchemaInit event. Generally there is no need to call it directly.

Implements

See Also