Пример #1
0
        public void Save(JDataBase pDB)
        {
            JObjectTable ActionTable = new JObjectTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Update(pDB);
        }
Пример #2
0
        public bool Update(JDataBase db)
        {
            JObjectTable ActionTable = new JObjectTable();

            ActionTable.SetValueProperty(this);
            return(ActionTable.Update(db));
        }
Пример #3
0
        public void Delete()
        {
            JObjectTable ActionTable = new JObjectTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Delete();
        }
Пример #4
0
        public int Insert(JDataBase db, bool pManualInsert)
        {
            JObjectTable ActionTable = new JObjectTable();

            ActionTable.SetValueProperty(this);
            if (pManualInsert == true)
            {
                ActionTable.Set_ComplexInsert(false);
            }
            Code = ActionTable.Insert(db);
            if (Code > 0)
            {
            }
            return(Code);
        }