November Happy Hour will be moved to Thursday December 5th.

Class SaveActionExtensions

Extension methods to work with EPiServer.DataAccess.SaveAction together with ExtendedSaveAction

Inheritance
System.Object
SaveActionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public static class SaveActionExtensions

Methods

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 baseAction and extendedAction set.