Example #1
0
        public static void addRoutineRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, ref List <R_806x_Def_Routines> rList, S6xRoutine s6xObject)
        {
            if (db806x == null)
            {
                return;
            }
            if (sadS6x == null)
            {
                return;
            }
            if (rList == null)
            {
                return;
            }
            if (s6xObject == null)
            {
                return;
            }
            if (s6xObject.Skip || !s6xObject.Store)
            {
                return;
            }

            R_806x_Def_Routines rRow = db806x.newRow <R_806x_Def_Routines>();

            rRow.Bank.Value          = s6xObject.BankNum;
            rRow.Address.Value       = s6xObject.AddressInt;
            rRow.UniqueAddCode.Value = 0;
            rRow.Comments.Value      = s6xObject.Comments;
            rRow.Label.Value         = s6xObject.Label;
            rRow.ShortLabel.Value    = s6xObject.ShortLabel;

            rList.Add(rRow);
        }
 public static void updateRoutineRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, R_806x_Def_Routines rRow, S6xRoutine s6xObject)
 {
     SQLite806xTools806xV10.updateRoutineRow(ref db806x, ref sadS6x, rRow, s6xObject);
 }
 public static object[] setRoutineS6x(ref SADS6x sadS6x, R_806x_Def_Routines rRow)
 {
     return(SQLite806xTools806xV10.setRoutineS6x(ref sadS6x, rRow));
 }
 public static List <object> getRoutineSubRows(ref SQLite806xDB db806x, R_806x_Def_Routines rRow)
 {
     return(SQLite806xTools806xV10.getRoutineSubRows(ref db806x, rRow));
 }
 public static bool deleteRoutineRow(ref SQLite806xDB db806x, R_806x_Def_Routines rRow, bool recursively)
 {
     return(SQLite806xTools806xV10.deleteRoutineRow(ref db806x, rRow, recursively));
 }