Click or drag to resize
DatabaseSeparationHelper Class
Sets of methods used for database separation
Inheritance Hierarchy
SystemObject
  CMS.DataEngineDatabaseSeparationHelper

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class DatabaseSeparationHelper

The DatabaseSeparationHelper type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseSeparationHelper
Top
Methods
  NameDescription
Public methodDeleteSourceTables
Modifies old database.
Public methodStatic memberCheckCMDatabase
Checks if database is installed with contact management tables.
Public methodStatic memberCheckDBSeparation
Check that DB separation is successfully finished. Returns false, and sets up connection error message in case it isn't
Public methodJoinDatabase
Joins databases.
Public methodSeparateDatabase
Separates Database.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberOM_CONNECTION_STRING
On-line marketing connection string name
Top
Properties
  NameDescription
Public propertyStatic memberConnStringSeparate
Connection string for separated DB.
Public propertyStatic memberConnStringSeparateName
Connection string name for separated DB.
Public propertyInstallationConnStringSeparate
Installation connection string for separated DB.
Public propertyInstallScriptsFolder
Folder where SQL installation scripts are placed.
Public propertyLogMessage
Method for logging.
Public propertyScriptsFolder
Folder where SQL separation scripts are placed.
Public propertyStatic memberSeparationInProgress
Indicates if DB separation is in progress.
Public propertyStatic memberSeparationStartedByServer
Indicates what web farm server started DB separation.
Top
See Also