티스토리 뷰

Data.Win.ADODB.TADOConnection.BeginTrans

Delphi

function BeginTrans: Integer;

C++

int __fastcall BeginTrans(void);

Properties

TypeVisibilitySourceUnitParent
functionpublic
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODBTADOConnection

Description

Initiates a new transaction / in the associated database.

Call BeginTrans / to start a new transaction / in the data store / the ADO connection component / is connected to.

BeginTrans / returns a value / of type integer, / indicating the nesting level / of the new transaction.

A successful execution of BeginTrans  / triggers an OnBeginTransComplete event / and sets the InTransaction property to true.

Note: The ADO connection object / must have an active connection / before BeginTrans can be used.

연결된 데이터베이스에 새 트랜잭션을 시작합니다.

BeginTrans 메서드를 호출하면 ADO 연결 구성 요소가 연결된 데이터 저장소에서 새 트랜잭션을 시작합니다.

BeginTrans 는 새 트랜잭션의 중첩 수준을 나타내는 integer 형의 값을 돌려줍니다.

BeginTrans 를 성공적으로 실행하면 OnBeginTransComplete 이벤트가 발생하고 InTransaction 속성이 true로 설정됩니다.

참고 :   BeginTrans 를 사용하려면 그 전에 ADO 연결 개체의 연결 상태가 활성화 되어 있어야 합니다.

indicate 
미국·영국 [|ɪndɪkeɪt]

1. (사실임・존재함을) 나타내다   2. (조짐・가능성을) 나타내다

출처: http://docwiki.embarcadero.com/Libraries/Berlin/en/Data.Win.ADODB.TADOConnection.BeginTrans

'프로그래밍 언어 > Delphi' 카테고리의 다른 글

[Reference] TADOConnection.RollbackTrans  (0) 2016.11.27
[Reference] TADOConnection.CommitTrans  (0) 2016.11.26
[Reference] TStrings.Clear  (0) 2016.11.23
[Reference] TADOQuery.ExecSQL  (0) 2016.11.22
[Reference] TDataSet.Close  (0) 2016.11.21
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함