Пример #1
0
        public TableOperationContext(AddWithFileCommand <T> FileController, CommandType type)
        {
            this.FileController = FileController;
            this.type           = type;

            contextVoid = CommandVoidContext.getContext();
        }
Пример #2
0
        public static CommandVoidContext getContext()
        {
            if (commandContext == null)
            {
                commandContext = new CommandVoidContext();
            }

            return(commandContext);
        }
Пример #3
0
        public void RemoveTable(T table)
        {
            CommandVoidContext singleContext = CommandVoidContext.getContext();

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