Метод | Описание | |
---|---|---|
AddCaliberUnit ( Datatype caliberUnit, |
Adds a caliber unit to the database.
|
|
AddWeaponName ( String weaponName, |
Adds a weapon name to the database.
|
|
GetCaliberUnits ( |
Returns all of the caliber options already in the database with their IDs.
|
|
GetWeaponNames ( |
Loads a list of weapon names from the database.
|
|
LoadData ( int targetID, |
Loads an
|
|
SaveData ( Datatype imageData, |
Saves an
|
Метод | Описание | |
---|---|---|
CaliberIDExists ( int caliberID, |
Returns true if the given
|
|
GetCaliberUnit ( int caliberID, |
Loads a
|
|
InsertData ( Datatype imageData, |
Inserts an
|
|
UpdateData ( Datatype imageData, |
Updates an existing
|
|
WeaponExists ( String weaponName, |
Returns true if the given
|
|
openConnection ( System.Data.OleDb.OleDbConnection conn ) : void |
Opens a connection to the database specified in the
|
|
setStringParameter ( |
Sets a string parameter to an
|
public static AddCaliberUnit ( Datatype caliberUnit, |
||
caliberUnit | Datatype | The |
configReader | The |
|
Результат | void |
public static AddWeaponName ( String weaponName, |
||
weaponName | String | The weapon name to add to the database. |
configReader | The |
|
Результат | void |
public static GetCaliberUnits ( |
||
configReader | The |
|
Результат | List |
public static GetWeaponNames ( |
||
configReader | The |
|
Результат | List |
public static LoadData ( int targetID, |
||
targetID | int | The |
configReader | The |
|
Результат | Datatype.ImageData |
public static SaveData ( Datatype imageData, |
||
imageData | Datatype | The |
configReader | The |
|
Результат | int |