Home News DOC Class DL Others Rice
Class  >  connection
connection class

Description

Represents a connection to a Sqlite database.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has not been initialized.

An instance that is used up should be released. Please do not forget to call Release() method.

fitter

SignatureDescription
connection()

Returns a new instance of connection class.

connection(string)

Returns a new instance of connection class.

getter

SignatureDescription
ConnectionString

Returns the connection string.

DataSource

Returns a file name to connect.

Fitted

Returns a value that indicates whether this instance was initialized.

TypeName

Returns the type name.

setter

This class does not have a setter.

method

SignatureDescription
AddColumn(string,string,string)

Adds a column to the table.

BeginTransaction()

Begins a database transaction.

Close()

Closes the connection to the database.

CopyTable(string,string,bool)

Duplicates the table.

CreateTable(string,dictionary{string})

Creates a table.

DropTable(string)

Deletes the table.

ExistTable(string)

Returns a value that indicates whether the table exists.

Open()

Opens the connection to the database.

Release()

Releases the unmanaged resources.

RenameTable(string,string)

Changes the table name.

Copyright © Rice All rights reserved.