public override void OnRelease() { if (this.stAcntUniq != null) { this.stAcntUniq.Release(); this.stAcntUniq = null; } this.iType = 0; if (this.stDetail != null) { this.stDetail.Release(); this.stDetail = null; } }
public COMDT_TRANSACTION_CONTEXT() { this.stAcntUniq = (COMDT_ACNT_UNIQ)ProtocolObjectPool.Get(COMDT_ACNT_UNIQ.CLASS_ID); this.stDetail = (COMDT_TRANSACTION_CONTEXT_DETAIL)ProtocolObjectPool.Get(COMDT_TRANSACTION_CONTEXT_DETAIL.CLASS_ID); }