public bool CheckOut(string workSessionId, out string workSessionState) { string workSessionStateFromSql = null; var success = (bool)TryRepeater.Do(() => SqlImplementation.CheckOut(ConnectionString, workSessionId, LockerId, out workSessionStateFromSql)); workSessionState = workSessionStateFromSql; return(success); }
public void UndoCheckOut(string workSessionId) { TryRepeater.Do(() => SqlImplementation.UndoCheckOut(ConnectionString, workSessionId, LockerId)); }
public void Remove(string workSessionId) { TryRepeater.Do(() => SqlImplementation.Remove(ConnectionString, workSessionId, LockerId)); }
public bool HasWorkSessionId(string workSessionId) { return((bool)TryRepeater.Do(() => SqlImplementation.HasWorkSessionId(ConnectionString, workSessionId))); }
public string FindWorkSessionId(string documentId) { return((string)TryRepeater.Do(() => SqlImplementation.FindWorkSessionId(ConnectionString, documentId.ToLower()))); }
public bool CheckIn(string workSessionId, string documentId, string workSessionState) { return((bool)TryRepeater.Do(() => SqlImplementation.CheckIn(ConnectionString, workSessionId, documentId.ToLower(), workSessionState, LockerId))); }