internal Database(NotesAccessor accessor, Domino.NotesDatabase notesDb) { if (!notesDb.IsOpen) { notesDb.Open(); } this._accessor = accessor; this._notesDb = notesDb; this._title = notesDb.Title; this._server = notesDb.Server; this._sourceType = (NotesDbType)(int)notesDb.type; this._targetType = MappingInfo.GetTagetDbType(this._sourceType); this._fileName = notesDb.FileName; this._notesUrl = notesDb.NotesURL; this._replicaId = notesDb.ReplicaID; this._sourcePath = notesDb.FilePath; }