EncounterDataColumnDef Constructor |
A column defintion for EncounterData objects
Namespace: Advanced_Combat_TrackerAssembly: Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.3.286
Syntaxpublic ColumnDef(
string Label,
bool DefaultVisible,
string SqlDataType,
string SqlDataName,
EncounterDataStringDataCallback CellDataCallback,
EncounterDataStringDataCallback SqlDataCallback
)
Parameters
- Label String
- This should be the same text as the dictionary key used to store this object which is what is displayed in ACT
- DefaultVisible Boolean
- If a column is visible in ACT by default(when first added to the configuration)
- SqlDataType String
- The SQL data type such as INT, VARCHAR, FLOAT
- SqlDataName String
- The SQL safe name of the column
- CellDataCallback EncounterDataStringDataCallback
- The delegated method to be called to get back a string to display in ACT
- SqlDataCallback EncounterDataStringDataCallback
- The delegated method to be called to get back a string to be used as a data value in SQL. Obviously this value must conform to the SqlDataType.
See Also