/// <summary> /// Frees the hash code controler. /// </summary> private void FreeHashCodeAndTransctionControler() { CallContext.FreeNamedDataSlot("HashCode"); CallContext.FreeNamedDataSlot("Transaction"); }
/// <summary> /// Gets the transaction. /// </summary> /// <returns></returns> private IDbTransaction GetTransactionControler() { return((IDbTransaction)CallContext.GetData("Transaction")); }
/// <summary> /// Sets the transaction. /// </summary> private void SetTransactionControler() { CallContext.SetData("Transaction", _transaction); }
/// <summary> /// Gets the hash code controler. /// </summary> /// <returns></returns> private int?GetHashCodeControler() { return((int?)CallContext.GetData("HashCode")); }
/// <summary> /// Sets the hash code controler. /// </summary> private void SetHashCodeControler() { CallContext.SetData("HashCode", this.GetHashCode()); }