Initializes a new instance of the BCRepository class.
Connects to the server and opens a vault for reading or writing.
Connection is closed when the instance is disposed.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)
Syntax
C# |
---|
public BCRepository( string vaultOrDataStoreName, string machineName, DateTime moment, string workAreaID ) |
Visual Basic |
---|
Public Sub New ( _ vaultOrDataStoreName As String, _ machineName As String, _ moment As DateTime, _ workAreaID As String _ ) |
Visual C++ |
---|
public: BCRepository( String^ vaultOrDataStoreName, String^ machineName, DateTime moment, String^ workAreaID ) |
Parameters
- vaultOrDataStoreName
- Type: System..::..String
The name of the vault or data store. If nullNothingnullptra null reference (Nothing in Visual Basic) or an empty string, then the default vault will be opened.
- machineName
- Type: System..::..String
The name of the server machine. If nullNothingnullptra null reference (Nothing in Visual Basic) or an empty string, then a local machine is used.
- moment
- Type: System..::..DateTime
The date at which to open the vault in History mode.
- workAreaID
- Type: System..::..String
The ID property value of the work area. If nullNothingnullptra null reference (Nothing in Visual Basic) or an empty string then the vault will be opened in the context of the main area.
Remarks
Method starts a database transaction. To save changes to the vault use
Commit()()()(). To revoke changes use Rollback()()()() method.