예제 #1
0
        public void ExecuteDeleteTableTemplatePathFromTemplateIdTest()
        {
            string dbfile = "taskaludb39.sqlite";
            string path   = Path.GetTempPath() + "\\" + dbfile;

            TouchTestDB(dbfile);

            var lt = new ListTemplatePath();

            lt.Template_Id = 2;
            lt.Order       = 1;
            lt.Path        = "path";
            SQLiteClass.ExecuteInsertTableTemplatePath(path, lt);

            Debug.Assert(SQLiteClass.ExecuteDeleteTableTemplatePathFromTemplateId(path, 2));
        }