Skip to main content
.NET 8.0+

SimpleDataLayer.CreateCommand() Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.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