new ExtensionManagerSync(dataSource, modelPath)

Creates a new extension manager object for a synchronous model.

Parameters

Name Type Optional Description

dataSource

string

 

The name of the data source.

modelPath

string

 

The full path of the model.

Extends
bo.shared.ExtensionManagerBase
Throws

Argument error: The data source must be a non-empty string.

Argument error: The model path must be a non-empty string.

Properties

read-only
daoBuilder  external.daoBuilder

Factory method to create the data access object for a model instance.

Inherited from
bo.shared.ExtensionManagerBase#daoBuilder

read-only
dataCreate  external.dataCreate

Returns the property values of a new instance from the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataCreate

read-only
dataExecute  external.dataExecute

Executes a command on the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataExecute

read-only
dataFetch  external.dataFetch

Returns the property values of an existing instance from the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataFetch

read-only
dataInsert  external.dataInsert

Saves a new instance into the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataInsert

read-only
dataRemove  external.dataRemove

Deletes an existing instance from the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataRemove

read-only
dataSource  string

The name of the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataSource

read-only
dataUpdate  external.dataUpdate

Saves an existing instance into the data source.

Inherited from
bo.shared.ExtensionManagerBase#dataUpdate

read-only
fromCto  external.fromCto

Converts the client transfer object to model instance.

Inherited from
bo.shared.ExtensionManagerBase#fromCto

read-only
fromDto  external.fromDto

Converts the data transfer object to model instance.

Inherited from
bo.shared.ExtensionManagerBase#fromDto

read-only
modelPath  string

The path of the model definition.

Inherited from
bo.shared.ExtensionManagerBase#modelPath

read-only
toCto  external.toCto

Converts the model instance to client transfer object.

Inherited from
bo.shared.ExtensionManagerBase#toCto

read-only
toDto  external.toDto

Converts the model instance to data transfer object.

Inherited from
bo.shared.ExtensionManagerBase#toDto