5 Implementation Specific Implications

Simphony Extensibility internal DataStoreClient (OpsContext.DataStore) is deprecated and should no longer be used with Simphony 19.2.

The source needs to be updated to make use of the Extensibility DataStoreClient only (namespace Micros.PosCore.Extensibility.DataStore). A sample code is provided below.

Functionality around OpsContext.GetBusinessDateTime() has changed and needs to be updated. A sample code is provided below.

DataStoreClient

The following sample is based on a single Visual Studio solution that includes two Simphony Extensibility projects: one built against an earlier Simphony version, and the second built against Simphony 19.2.

Figure 5-1 Deprecated use of Simphony Extensibility Internal DataStoreClient


This figure shows the Deprecated use of Simphony Extensibility internal DataStoreClient.

Figure 5-2 Correct use of Simphony Extensibility DataStoreClient


This figure shows the correct use of Simphony Extensibility DataStoreClient.

GetBusinessDateTime

Change in the Signature of the GetBusinessDateTime() method:

Figure 5-3 GetBusinessDateTime() Method in Earlier Simphony Versions


This figure shows the GetBusinessDateTime() method in earlier Simphony versions.

Figure 5-4 GetBusinessDateTime() Method in Simphony 19.2


This figure shows the GetBusinessDateTime() method in Simphony 19.2 indicated by a red outline.