AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

Domain Methods

The Domain type exposes the following members.

Methods


  Name Description
Public method Clone
Creates a deep clone of this Domain with all collection items and nested objects cloned, not shared. Safe for callers to mutate any property or item without affecting the source. The cloned Domain is always unfrozen.
Public method EnforceFreezeOnMutation
Enforces the freeze by logging and optionally throwing if a property is being set on a frozen instance. Called before each property mutation.
Public method Freeze
Freezes this Domain and all its nested freezable members (DomainPaths, ZonePaths, TemplatePaths, Languages), preventing further mutations. Attempting to set properties on a frozen Domain will either log a warning or throw an exception, depending on the FreezeEnforceLevel appsetting.
Public method GetParameters
Retrieve the parameters required for the specified stored procedure
Public method GetSQL
Retrieves the SQL statement for the specified command name. Currently returns an empty string.
Public method SetData
Sets the data from the execution of the specified command name.