C# Class CapDemo.DA.DatabaseAccess

Mostrar archivo Open project: antang/NewCapstoneProject Class Usage Examples

Public Properties

Property Type Description
adapter System.Data.SQLite.SQLiteDataAdapter
cmd System.Data.SQLite.SQLiteCommand
con System.Data.SQLite.SQLiteConnection

Public Methods

Method Description
DatabaseAccess ( ) : System
DeleteDatabase ( string query ) : bool
InsertDatabase ( string query ) : bool
MaxID ( string query ) : int
SelectDatabase ( string query ) : DataTable
UpdateDatabase ( string query ) : bool

Method Details

DatabaseAccess() public method

public DatabaseAccess ( ) : System
return System

DeleteDatabase() public method

public DeleteDatabase ( string query ) : bool
query string
return bool

InsertDatabase() public method

public InsertDatabase ( string query ) : bool
query string
return bool

MaxID() public method

public MaxID ( string query ) : int
query string
return int

SelectDatabase() public method

public SelectDatabase ( string query ) : DataTable
query string
return System.Data.DataTable

UpdateDatabase() public method

public UpdateDatabase ( string query ) : bool
query string
return bool

Property Details

adapter public_oe property

public SQLiteDataAdapter,System.Data.SQLite adapter
return System.Data.SQLite.SQLiteDataAdapter

cmd public_oe property

public SQLiteCommand,System.Data.SQLite cmd
return System.Data.SQLite.SQLiteCommand

con public_oe property

public SQLiteConnection,System.Data.SQLite con
return System.Data.SQLite.SQLiteConnection