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

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