/// <summary> /// Updates given worksapce isolation level to snapshot. /// If given workspace isoaltion level is read only workspace isolation level cannot be updated and exception will be thrown. /// </summary> /// <typeparam name="TDataType"></typeparam> /// <param name="workspace"></param> public void UpdateWorkspaceToSnapshot <TDataType>(Workspace <TDataType> workspace) { serverContext.ExitExclusiveLock(); workspace.ChangeIsolationLevel(IsolationLevel.Snapshot); }