예제 #1
0
        public virtual QueryCommand QueryDelete(DataContext context, DataTableEntityMapping mapping, QueryExpression query)
        {
            CreateSqlState state        = new CreateSqlState(context);
            CommandData    commandData  = _factory.CreateMassDeleteCommand(mapping, query, state);
            DbCommand      command      = commandData.CreateCommand(this, state);
            QueryCommand   queryCommand = new QueryCommand()
            {
                Command = command
            };

            return(queryCommand);
        }