Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StateMachineModule.StateMachineStorageType Property

Specifies a persistent type used to store state machines in the database.

Namespace: DevExpress.ExpressApp.StateMachine

Assembly: DevExpress.ExpressApp.StateMachine.v24.2.dll

#Declaration

[TypeConverter(typeof(BusinessClassTypeConverter<IStateMachine>))]
public Type StateMachineStorageType { get; set; }

#Property Value

Type Description
Type

A persistent type used to store state machines in the database.

#Remarks

You can change this property value in the Application Designer.

The specified type should implement the IStateMachine interface. XAF provides you with two predefined types:

  • DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine (XPO)
  • DevExpress.Persistent.BaseImpl.EF.StateMachine.StateMachine (EF)

Set the StateMachineStorageType property to the corresponding type after you add the State Machine Module to your application.

See Also