Exemple #1
0
 protected override void OnUpdate(SQLiteConnection conn)
 {
     Elements.Update(conn);
     WeaponTypes.Update(conn);
     ToolTypes.Update(conn);
     ToolFormulas.Update(conn);
 }
Exemple #2
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Elements.Read();
     WeaponTypes.Read();
     ToolTypes.Read();
     ToolFormulas.Read();
 }
Exemple #3
0
 public override void ParameterizeAttributes()
 {
     Elements.ParameterizeAttributes();
     WeaponTypes.ParameterizeAttributes();
     ToolTypes.ValidateInputs();
     ToolFormulas.ParameterizeAttributes();
 }
Exemple #4
0
 protected override void OnInitializeNew()
 {
     Elements.Read();
     WeaponTypes.Read();
     ToolTypes.Read();
     ToolFormulas.Read();
 }
Exemple #5
0
        public override string ValidateInputs()
        {
            string err = Elements.ValidateInputs();

            err += WeaponTypes.ValidateInputs();
            err += ToolTypes.ValidateInputs();
            err += ToolFormulas.ValidateInputs();
            return(err);
        }
Exemple #6
0
        protected override void SetupTableData()
        {
            List <string> columnNames = new List <string> {
                "Name"
            };

            Elements.Setup("", "TypesLists", "Elements", columnNames, 200);
            WeaponTypes.Setup("", "TypesLists", "Weapon Types", columnNames, 200);
            ToolTypes.Setup("", "TypesLists", "Tool Types", columnNames, 200);
            ToolFormulas.Setup("", "TypesLists", "Tool Formulas", columnNames, 200);
        }