public AdomdDataAdapter(AdomdCommand command) { Contract.Requires(command != null, "The command parameter must not be null"); if (command.Connection.Type == AdomdType.AnalysisServices) { _obj = new Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter { SelectCommand = (Microsoft.AnalysisServices.AdomdClient.AdomdCommand)command.UnderlyingCommand }; } else { void f() { _objExcel = new ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter { SelectCommand = (ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdCommand)command.UnderlyingCommand }; } f(); } }
public AdomdDataAdapter(AdomdCommand obj) { if (obj.Connection.Type == AdomdType.AnalysisServices) { _obj = new Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter(); _obj.SelectCommand = (Microsoft.AnalysisServices.AdomdClient.AdomdCommand)obj.UnderlyingCommand; } else { ExcelAdoMdConnections.VoidDelegate f = delegate { _objExcel = new ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter(); _objExcel.SelectCommand = (ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdCommand)obj.UnderlyingCommand; }; f(); } }
public AdomdDataAdapter(AdomdCommand obj) { if (obj.Connection.Type == AdomdType.AnalysisServices) { _obj = new Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter(); _obj.SelectCommand = (Microsoft.AnalysisServices.AdomdClient.AdomdCommand) obj.UnderlyingCommand; } else { ExcelAdoMdConnections.VoidDelegate f = delegate { _objExcel = new ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter(); _objExcel.SelectCommand = (ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdCommand) obj.UnderlyingCommand; }; f(); } }
public AdomdDataAdapter(ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter obj) { _objExcel = obj; }
public AdomdDataAdapter(ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.AdomdDataAdapter obj) { _objExcel = obj; }