Ejemplo n.º 1
0
 protected System.Data.CommandBehavior ConvertCommandBehavior(AspNetCore.ReportingServices.DataProcessing.CommandBehavior behavior)
 {
     if (AspNetCore.ReportingServices.DataProcessing.CommandBehavior.SingleResult == behavior && !this.IsConnectedToAS2005OrLater())
     {
         return(System.Data.CommandBehavior.Default);
     }
     return((System.Data.CommandBehavior)behavior);
 }
Ejemplo n.º 2
0
 public virtual AspNetCore.ReportingServices.DataProcessing.IDataReader ExecuteReader(AspNetCore.ReportingServices.DataProcessing.CommandBehavior behavior)
 {
     return(new DataReaderWrapper(this.UnderlyingCommand.ExecuteReader(this.ConvertCommandBehavior(behavior))));
 }