public TableOperationContext(AddWithFileCommand <T> FileController, CommandType type) { this.FileController = FileController; this.type = type; contextVoid = CommandVoidContext.getContext(); }
public static CommandVoidContext getContext() { if (commandContext == null) { commandContext = new CommandVoidContext(); } return(commandContext); }
public void RemoveTable(T table) { CommandVoidContext singleContext = CommandVoidContext.getContext(); singleContext.DoAddCommand(table, EntityState.Deleted); }