Esempio n. 1
0
        public override string ValidateInputs()
        {
            string err = "";

            err += StatesGive.ValidateInputs();
            err += StatesReceive.ValidateInputs();
            return(err);
        }
Esempio n. 2
0
        protected override void SetupTableData()
        {
            List <string> cols = new List <string> {
                "State", "%"
            };

            StatesGive.Setup("Tool", "State", "Inflicts", cols);
            StatesReceive.Setup("Tool", "State", "Receives", cols);
            StatesGive.AttributeName      = "Chance";
            StatesReceive.AttributeName   = "Chance";
            StatesGive.TableIdentifier    = "_Give";
            StatesReceive.TableIdentifier = "_Receive";
        }
Esempio n. 3
0
 protected override void OnClone(SQLiteConnection conn)
 {
     StatesGive.Clone(conn);
     StatesReceive.Clone(conn);
 }
Esempio n. 4
0
 protected override void OnDelete(SQLiteConnection conn)
 {
     StatesGive.Delete(conn);
     StatesReceive.Delete(conn);
 }
Esempio n. 5
0
 protected override string OnUpdate(SQLiteConnection conn)
 {
     StatesGive.Update(conn);
     StatesReceive.Update(conn);
     return("");
 }
Esempio n. 6
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     StatesGive.Read();
     StatesReceive.Read();
 }
Esempio n. 7
0
 protected override string[] OnCreate(SQLiteConnection conn)
 {
     StatesGive.Create(conn);
     StatesReceive.Create(conn);
     return(null);
 }
Esempio n. 8
0
 public override void ParameterizeAttributes()
 {
     StatesGive.ParameterizeAttributes();
     StatesReceive.ParameterizeAttributes();
 }