示例#1
0
        public virtual QueryCommand Delete(DataContext context, DataTableEntityMapping mapping, object data)
        {
            CreateSqlState state        = new CreateSqlState(context, false);
            CommandData    commandData  = _factory.CreateBaseDeleteCommand(mapping, data, state);
            DbCommand      command      = commandData.CreateCommand(this, state);
            QueryCommand   queryCommand = new QueryCommand()
            {
                Command = command
            };

            return(queryCommand);
        }