Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 |
|
return | void |
public static AddWeaponName ( String weaponName, |
||
weaponName | String | The weapon name to add to the database. |
configReader | The |
|
return | void |
public static GetCaliberUnits ( |
||
configReader | The |
|
return | List |
public static GetWeaponNames ( |
||
configReader | The |
|
return | List |
public static LoadData ( int targetID, |
||
targetID | int | The |
configReader | The |
|
return | Datatype.ImageData |
public static SaveData ( Datatype imageData, |
||
imageData | Datatype | The |
configReader | The |
|
return | int |