AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

Domain Members

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.

Properties


  Name Description
Public property Attributes
Gets or sets the attributes.
Public property CreatedBy
Gets or sets the created by.
Public property CreatedDate
Gets or sets the created date.
Public property CustomPropertyControl
Gets or sets the custom property control.
Public property DomainID
Gets or sets the domain identifier.
Public property DomainPaths
DomainPaths is null by default. Use GetDomainPaths method to fill.
Public property FolderName
Gets or sets the name of the folder.
Public property IsActive
Gets or sets a value indicating whether this instance is active.
Public property IsFrozen
Checks whether this Domain is frozen. Runtime-only flag — never serialized.
Public property Languages
Gets or sets the languages.
Public property LanguagesActiveOnly
Gets the languages active only.
Public property LastModifiedBy
Gets or sets the last modified by.
Public property LastModifiedDate
Gets or sets the last modified date.
Public property Locked
Gets or sets a value indicating whether this Domain is locked.
Public property Name
Gets or sets the name.
Public property PrimaryUrlPath
Gets or sets the primary URL path.
Public property SearchIndexDirectory
Gets or sets the search index directory.
Public property SectionID
Gets or sets the section identifier.
Public property TemplatePaths
Gets or sets the template paths.
Public property ZonePaths
Gets or sets the zone paths.