Class SaveActionExtensions
Extension methods to work with EPiServer.DataAccess.SaveAction together with ExtendedSaveAction
Inheritance
System.Object
    SaveActionExtensions
  Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public static class SaveActionExtensions : ObjectMethods
HasExtendedActionFlag(SaveAction, ExtendedSaveAction)
Determines whether the action has the extended action bit(s) set.
Declaration
public static bool HasExtendedActionFlag(this SaveAction action, ExtendedSaveAction extendedAction)Parameters
| Type | Name | Description | 
|---|---|---|
| EPiServer.DataAccess.SaveAction | action | The action to query. | 
| ExtendedSaveAction | extendedAction | The extended action to query for. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
SetExtendedActionFlag(SaveAction, ExtendedSaveAction)
Sets the extended action bits on the action.
Declaration
public static SaveAction SetExtendedActionFlag(this SaveAction baseAction, ExtendedSaveAction extendedAction)Parameters
| Type | Name | Description | 
|---|---|---|
| EPiServer.DataAccess.SaveAction | baseAction | The base action. | 
| ExtendedSaveAction | extendedAction | The extended action. | 
Returns
| Type | Description | 
|---|---|
| EPiServer.DataAccess.SaveAction | EPiServer.DataAccess.SaveAction with the bits from both  | 
