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

Description

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

Syntax

dbreaderInstance.Fitted

Arguments

None

Return value

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

Sample code

1:

dbreader dbr;

2:

bool init = dbr.Fitted; // false

3:

dbr = new dbreader();

4:

init = dbr.Fitted; // false

5:

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

6:

cnn.Open();

7:

command cmm = new command("select * from sometable where id < 100;", cnn);

8:

dbr = cmm.Reader(); // Command execution. A multi-line result is returned.

9:

init = dbr.Fitted; // true

Notes

Instance that is created by declaration is still uninitialized.

Links for reference

None.

Copyright © Rice All rights reserved.