Ejemplo n.º 1
0
        public TableOperationContext(AddWithFileCommand <T> FileController, CommandType type)
        {
            this.FileController = FileController;
            this.type           = type;

            contextVoid = CommandVoidContext.getContext();
        }
Ejemplo n.º 2
0
        public static CommandVoidContext getContext()
        {
            if (commandContext == null)
            {
                commandContext = new CommandVoidContext();
            }

            return(commandContext);
        }
Ejemplo n.º 3
0
        public void RemoveTable(T table)
        {
            CommandVoidContext singleContext = CommandVoidContext.getContext();

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