Alexey_Gawrilow
Advanced Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору function NewTraceGuard(const sMsg: string): ITraceGuard; overload; deprecated{$IFDEF DCT_MSG}'Use _gT'{$ENDIF}; function NewTraceGuard(const sMsg: string; const Args: array of const): ITraceGuard; overload; deprecated{$IFDEF DCT_MSG}'Use _gT'{$ENDIF}; function _gT(const sMsg: string): ITraceGuard; overload; function _gT(const sMsg: string; const Args: array of const): ITraceGuard; overload; function NewObjectGuard(Obj: TObject): IObjectGuard; overload; function NewObjectGuard(Obj: TObject; const GuardClass: TObjectGuardClass): IObjectGuard; overload; function NewObjectGuard(Obj: TObject; out Ref): IObjectGuard; overload; function NewObjectGuardRef(Obj: TObject; var Ref): IObjectGuard; /// <summary>Object Guard.</summary> function _gO(Obj: TObject): IObjectGuard; overload; /// <summary>Object Guard.</summary> function _gO(Obj: TObject; out Ref): IObjectGuard; overload; function NewCursorGuard(const aCursor: TCursor = crHourglass): ICursorGuard; deprecated{$IFDEF DCT_MSG}'Use _g'{$ENDIF}; function _g(const aCursor: TCursor = crHourglass): ICursorGuard; function _gС(const aCursor: TCursor = crHourglass): ICursorGuard; function NewStatusBarSimpleTextGuard(sb: TStatusBar; const sText: string): IStatusBarSimpleTextGuard; deprecated; function _g(sb: TStatusBar; const sText: string): IStatusBarSimpleTextGuard; function _gBusy(i: IBusy): IBusyGuard; {$region 'exGuardDB'} type IActiveMemento = interface(IInterface) ['{A44E7C01-D995-4F6E-B45D-9835AE4F31FB}'] function ds: TDataset; end; function NewActiveGuard(aDS: TDataset; const Reopen: Boolean = True): IActiveMemento; deprecated; function NewEnumGuard(aDS: TDataset; const Reopen: Boolean = True): IActiveMemento; deprecated; function _gActive(aDS: TDataset; const Reopen: Boolean = True): IActiveMemento; function _gEnum(aDS: TDataset; const Reopen: Boolean = True): IActiveMemento; /// <summary>При входе ClearVariables. При выходе выполняет Close.</summary> function _gFluent(q: TOracleQuery): IQueryFluentGuard; overload; /// <summary>При входе ClearVariables. При выходе выполняет Close.</summary> function _gFluent(os: TOracleSession; const sql: string): IQueryFluentGuard; overload; /// <summary>При входе ClearVariables. При выходе выполняет Close.</summary> /// <param name="CommitOnExit">Указывает на выполнение Commit при выходе.</param> function _gQuery(q: TOracleQuery; CommitOnExit: Boolean = True): IQueryCloseGuard; /// <summary>При входе ClearVariables. При выходе выполняет Close.</summary> function _gClose(q: TOracleQuery): IQueryCloseGuard; /// <summary>При входе ClearVariables. При выходе выполняет Commit и Close.</summary> function _gCommit(q: TOracleQuery): IQueryCloseGuard; {$endregion} |