Ejemplo n.º 1
0
        public virtual QueryCommand BatchDelete(DataContext context, DataTableEntityMapping mapping, IList datas)
        {
            CreateSqlState state        = new CreateSqlState(context, false);
            CommandData    commandData  = _factory.CreateBatchDeleteCommand(mapping, datas, state);
            DbCommand      command      = commandData.CreateCommand(this, state);
            QueryCommand   queryCommand = new QueryCommand()
            {
                Command = command
            };

            return(queryCommand);
        }