Example #1
0
 private JsonResult SetResulst(SearchTableFromContext <T> search, T obj, EntityState entityState)
 {
     voidContext.DoAddCommand(obj, entityState);
     return(Json(selectContext.DoSelectCommand(search)));
 }
Example #2
0
        public void RemoveTable(T table)
        {
            CommandVoidContext singleContext = CommandVoidContext.getContext();

            singleContext.DoAddCommand(table, EntityState.Deleted);
        }