Exemple #1
0
        public void RunAll()
        {
            string       appName = "test" + DateTime.Now.Ticks;
            AdminContext admin   = new AdminContext();

            admin.CreateConnectAndWaitUntilAppIsReady(appName)
            .CreateJsInTransaction(appName);

            CrudUtility crud = new CrudUtility(appName, Backand.Config.ConfigStore.GetConfig().username, Backand.Config.ConfigStore.GetConfig().pwd);

            crud.RunSimpleCrud();
        }
Exemple #2
0
 public CrudItems(string appname, string username, string password)
 {
     this.admin = new AdminUtility(username, password);
     this.crud  = new CrudUtility(appname, username, password);
 }
Exemple #3
0
        //public CrudContext()
        //    : this(Backand.Config.ConfigStore.GetConfig().appname, Backand.Config.ConfigStore.GetConfig().username, Backand.Config.ConfigStore.GetConfig().pwd)
        //{

        //}
        public CrudContext(string appName, string username, string password)
        {
            crud   = new CrudUtility(appName, username, password);
            filter = new List <FilterItem>();
        }