AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

Domain..::..EnforceFreezeOnMutation Method

Enforces the freeze by logging and optionally throwing if a property is being set on a frozen instance. Called before each property mutation.

Namespace:  AdvantageCMS.Core.Common.BusinessEntity
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void EnforceFreezeOnMutation(
	string propertyName
)

Parameters

propertyName
Type: String