Home Notices Documents Classes Download Others Rice
Classes  >  transaction  >  Fitted
transaction class : Fitted getter

Description

Gets a value that indicates whether this instance was already initialized.

Syntax

transactionInstance.Fitted

Arguments

None

Return value

ClassDescription
boolA value that indicates whether this instance was already initialized.

Sample code

1:

transaction tran;

2:

bool init = tran.Fitted; // false

3:

tran = new transaction();

4:

init = tran.Fitted; // false

5:

connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;");

6:

cnn.Open();

7:

tran = cnn.BeginTransaction();

8:

init = tran.Fitted; // true

Notes

Instance that is created by declaration is still uninitialized.

Links for reference

None.

Copyright © Rice All rights reserved.