C# Class WarshipGirl.Utilities.DBInterface

Mostra file Open project: jxpxxzj/WarshipGirl

Public Methods

Method Description
getData ( string sql ) : object
getDataSet ( string sql ) : DataSet
runSql ( string sql ) : int

Private Methods

Method Description
CreateConnection ( ) : void
createCmd ( string sql ) : SQLiteCommand

Method Details

getData() public static method

public static getData ( string sql ) : object
sql string
return object

getDataSet() public static method

public static getDataSet ( string sql ) : DataSet
sql string
return System.Data.DataSet

runSql() public static method

public static runSql ( string sql ) : int
sql string
return int