Esempio n. 1
0
        public void TestInsertContainerDB()
        {
            var id = dbConnector.InsertContainerDB("Хранилище");

            dbConnector.selectAll(dbTables.tblContainers);
            Assert.AreNotEqual(-1, id);
        }
Esempio n. 2
0
        public override long SaveContainerBD(string name, long parentID = -1)
        {
            var id = dbConnector.InsertContainerDB(name, parentID);

            return(id);
        }