How to use Build method of NBi.Core.Analysis.Request.DiscoveryRequestFactory class

Best NBi code snippet using NBi.Core.Analysis.Request.DiscoveryRequestFactory.Build

AdomdDiscoveryCommandTest.cs

Source:AdomdDiscoveryCommandTest.cs Github

copy

Full Screen

...13 {14 [Test]15 public void Execute_DateDimensionWithHeighTeenHierarchies_ListStructureContainingHeighTeenElements()16 {17 var disco = new DiscoveryRequestFactory().BuildDirect(18 ConnectionStringReader.GetAdomd(),19 DiscoveryTarget.Hierarchies,20 new List<IFilter>() { 21 new CaptionFilter("Adventure Works", DiscoveryTarget.Perspectives),22 new CaptionFilter("Date", DiscoveryTarget.Dimensions)23 });2425 var factory = new AdomdDiscoveryCommandFactory();26 var cmd = factory.BuildExact(disco);2728 var structs = cmd.Execute();2930 Assert.That(structs.Count(), Is.EqualTo(18));31 }3233 [Test]34 public void Execute_TabularDateDimensionWithHeighTeenHierarchies_ListStructureContainingSevenTeenElements()35 {36 var disco = new DiscoveryRequestFactory().BuildDirect(37 ConnectionStringReader.GetAdomdTabular(),38 DiscoveryTarget.Hierarchies,39 new List<IFilter>() { 40 new CaptionFilter("Internet Operation", DiscoveryTarget.Perspectives),41 new CaptionFilter("Date", DiscoveryTarget.Dimensions)42 });4344 var factory = new AdomdDiscoveryCommandFactory();45 var cmd = factory.BuildExact(disco);4647 var structs = cmd.Execute();4849 Assert.That(structs.Count(), Is.EqualTo(17));50 }5152 [Test]53 public void GetPartialMetadata_CalendarHierarchyWithSixLevels_ListStructureContainingSixElements()54 {55 var disco = new DiscoveryRequestFactory().BuildDirect(56 ConnectionStringReader.GetAdomd(),57 DiscoveryTarget.Levels,58 new List<IFilter>() { 59 new CaptionFilter("Adventure Works", DiscoveryTarget.Perspectives),60 new CaptionFilter("Date", DiscoveryTarget.Dimensions),61 new CaptionFilter("Calendar", DiscoveryTarget.Hierarchies)62 });6364 var factory = new AdomdDiscoveryCommandFactory();65 var cmd = factory.BuildExact(disco);6667 var structs = cmd.Execute();6869 Assert.That(structs.Count(), Is.EqualTo(6));70 }7172 [Test]73 public void GetPartialMetadata_TabularCalendarHierarchyWithSixLevels_ListStructureContainingSixElements()74 {75 var disco = new DiscoveryRequestFactory().BuildDirect(76 ConnectionStringReader.GetAdomdTabular(),77 DiscoveryTarget.Levels,78 new List<IFilter>() { 79 new CaptionFilter("Internet Operation", DiscoveryTarget.Perspectives),80 new CaptionFilter("Date", DiscoveryTarget.Dimensions),81 new CaptionFilter("Calendar", DiscoveryTarget.Hierarchies)82 });8384 var factory = new AdomdDiscoveryCommandFactory();85 var cmd = factory.BuildExact(disco);8687 var structs = cmd.Execute();8889 Assert.That(structs.Count(), Is.EqualTo(6));90 }9192 [Test]93 public void GetPartialMetadata_MonthLevelWithTwoProperties_ListStructureContainingTwoElements()94 {95 var disco = new DiscoveryRequestFactory().BuildDirect(96 ConnectionStringReader.GetAdomd(),97 DiscoveryTarget.Properties,98 new List<IFilter>() { 99 new CaptionFilter("Adventure Works", DiscoveryTarget.Perspectives),100 new CaptionFilter("Date", DiscoveryTarget.Dimensions),101 new CaptionFilter("Calendar", DiscoveryTarget.Hierarchies),102 new CaptionFilter("Month", DiscoveryTarget.Levels)103 });104105 var factory = new AdomdDiscoveryCommandFactory();106 var cmd = factory.BuildExact(disco);107108 var structs = cmd.Execute();109110 Assert.That(structs.Count(), Is.EqualTo(2));111 }112113 [Test]114 public void GetPartialMetadata_TabularMonthLevelWithTwoProperties_ListStructureContainingNoElement()115 {116 var disco = new DiscoveryRequestFactory().BuildDirect(117 ConnectionStringReader.GetAdomdTabular(),118 DiscoveryTarget.Properties,119 new List<IFilter>() { 120 new CaptionFilter("Internet Operations", DiscoveryTarget.Perspectives),121 new CaptionFilter("Date", DiscoveryTarget.Dimensions),122 new CaptionFilter("Calendar", DiscoveryTarget.Hierarchies),123 new CaptionFilter("Month", DiscoveryTarget.Levels)124 });125126 var factory = new AdomdDiscoveryCommandFactory();127 var cmd = factory.BuildExact(disco);128129 var structs = cmd.Execute();130131 Assert.That(structs.Count(), Is.EqualTo(0));132 }133134 [Test]135 public void GetPartialMetadata_MeasureGroupsForCubeFinance_OneElement()136 {137 var disco = new DiscoveryRequestFactory().BuildDirect(138 ConnectionStringReader.GetAdomd(),139 DiscoveryTarget.MeasureGroups,140 new List<IFilter>() { 141 new CaptionFilter("Finance", DiscoveryTarget.Perspectives),142 });143144 var factory = new AdomdDiscoveryCommandFactory();145 var cmd = factory.BuildExact(disco);146147 var structs = cmd.Execute();148149 Assert.That(structs.Count(), Is.EqualTo(2));150 }151152 [Test]153 public void GetPartialMetadata_TabularMeasureGroupsForInternetOperation_ThreeElements()154 {155 var disco = new DiscoveryRequestFactory().BuildDirect(156 ConnectionStringReader.GetAdomdTabular(),157 DiscoveryTarget.MeasureGroups,158 new List<IFilter>() { 159 new CaptionFilter("Internet Operation", DiscoveryTarget.Perspectives),160 });161162 var factory = new AdomdDiscoveryCommandFactory();163 var cmd = factory.BuildExact(disco);164165 var structs = cmd.Execute();166167 Assert.That(structs.Count(), Is.EqualTo(3));168 }169170 [Test]171 public void Execute_DateDimensionLinkedToElevenMeasureGroups_ListStructureContainingTenElements()172 {173 var disco = new DiscoveryRequestFactory().BuildRelation(174 ConnectionStringReader.GetAdomd()175 , DiscoveryTarget.MeasureGroups176 , new List<IFilter>() { 177 new CaptionFilter("Adventure Works", DiscoveryTarget.Perspectives)178 , new CaptionFilter("Customer", DiscoveryTarget.Dimensions)179 });180181 var factory = new AdomdDiscoveryCommandFactory();182 var cmd = factory.BuildExact(disco);183184 var structs = cmd.Execute();185186 Assert.That(structs.Count(), Is.EqualTo(10));187 }188189 [Test]190 [Ignore]191 public void Execute_TabularDateDimensionLinkedToThreeMeasureGroups_ListStructureContainingThreeElements()192 {193 var disco = new DiscoveryRequestFactory().BuildRelation(194 ConnectionStringReader.GetAdomd()195 , DiscoveryTarget.MeasureGroups196 , new List<IFilter>() { 197 new CaptionFilter("Internet Operation", DiscoveryTarget.Perspectives)198 , new CaptionFilter("Date", DiscoveryTarget.Dimensions)199 });200201 var factory = new AdomdDiscoveryCommandFactory();202 var cmd = factory.BuildExact(disco);203204 var structs = cmd.Execute();205206 Assert.That(structs.Count(), Is.EqualTo(3));207 }208 }209210211} ...

Full Screen

Full Screen

AbstractMembersBuilder.cs

Source:AbstractMembersBuilder.cs Github

copy

Full Screen

...6using NBi.Xml.Items;7using NBi.Xml.Systems;8using NBi.Core.Analysis.Member;910namespace NBi.NUnit.Builder11{12 abstract class AbstractMembersBuilder : AbstractTestCaseBuilder13 {14 protected readonly DiscoveryRequestFactory discoveryFactory;1516 public AbstractMembersBuilder()17 {18 discoveryFactory = new DiscoveryRequestFactory();19 }2021 public AbstractMembersBuilder(DiscoveryRequestFactory factory)22 {23 discoveryFactory = factory;24 }25 26 protected MembersXml SystemUnderTestXml { get; set; }2728 protected override void BaseSetup(AbstractSystemUnderTestXml sutXml, AbstractConstraintXml ctrXml)29 {30 if (!(sutXml is MembersXml))31 throw new ArgumentException("Constraint must be a 'MembesrXml'");3233 SystemUnderTestXml = (MembersXml)sutXml;34 }3536 protected override void BaseBuild()37 {38 SystemUnderTest = InstantiateSystemUnderTest(SystemUnderTestXml);39 }4041 protected object InstantiateSystemUnderTest(MembersXml sutXml)42 {43 try 44 { 45 return InstantiateMembersDiscovery(sutXml);46 }47 catch (ArgumentOutOfRangeException)48 {49 50 throw new ArgumentOutOfRangeException("sutXml", sutXml, "The system-under-test for members must be a hierarchy or a level");51 }52 }53 54 protected MembersDiscoveryRequest InstantiateMembersDiscovery(MembersXml membersXml)55 {56 string perspective = null, dimension = null, hierarchy = null, level = null;5758 if (membersXml.Item == null)59 throw new ArgumentNullException();6061 if (!(membersXml.Item is HierarchyXml || membersXml.Item is LevelXml))62 {63 throw new ArgumentOutOfRangeException();64 }6566 if (membersXml.Item is HierarchyXml)67 {68 perspective = ((HierarchyXml)membersXml.Item).Perspective;69 dimension = ((HierarchyXml)membersXml.Item).Dimension;70 hierarchy = membersXml.Item.Caption;71 }72 if (membersXml.Item is LevelXml)73 {74 perspective = ((LevelXml)membersXml.Item).Perspective;75 dimension = ((LevelXml)membersXml.Item).Dimension;76 hierarchy = ((LevelXml)membersXml.Item).Hierarchy;77 level = membersXml.Item.Caption;78 }79 80 var disco = discoveryFactory.Build(81 membersXml.Item.GetConnectionString(),82 membersXml.ChildrenOf,83 membersXml.Exclude.Items,84 BuildPatterns(membersXml.Exclude.Patterns),85 perspective,86 dimension,87 hierarchy,88 level);8990 return disco;91 }9293 private IEnumerable<PatternValue> BuildPatterns(IEnumerable<PatternXml> patterns)94 {95 var res = new List<PatternValue>();96 if (patterns != null)97 { 98 foreach (var p in patterns)99 {100 var pv = new PatternValue();101 pv.Pattern = p.Pattern;102 pv.Text = p.Value;103 res.Add(pv);104 }105 }106 return res;107 } ...

Full Screen

Full Screen

DiscoveryRequestFactoryTest.cs

Source:DiscoveryRequestFactoryTest.cs Github

copy

Full Screen

...9 [Category("Olap")]10 public class DiscoveryRequestFactoryTest11 {12 [Test]13 public void Build_MemberCaptionFilled_MemberCaptionIsSet()14 {15 var facto = new DiscoveryRequestFactory();1617 var disco = facto.Build("connectionString", "parent-member", "perspective", "dimension", "hierarchy", null);1819 //Assertion20 Assert.That(disco.MemberCaption, Is.EqualTo("parent-member"));21 }2223 [Test]24 public void Build_MemberCaptionFilled_FunctionIsSetToChildren()25 {26 var facto = new DiscoveryRequestFactory();2728 var disco = facto.Build("connectionString", "parent-member", "perspective", "dimension", "hierarchy", null);2930 //Assertion31 Assert.That(disco.Function.ToLower(), Is.EqualTo("Children".ToLower()));32 }3334 [Test]35 public void Build_MemberCaptionNotFilled_FunctionIsSetToMembers()36 {37 var facto = new DiscoveryRequestFactory();3839 var disco = facto.Build("connectionString", string.Empty, "perspective", "dimension", "hierarchy", null);4041 //Assertion42 Assert.That(disco.Function.ToLower(), Is.EqualTo("Members".ToLower()));43 }44 }45} ...

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1using NBi.Core.Analysis.Request;2using NBi.Core.Analysis.Member;3using NBi.Core.Analysis.Metadata;4using NBi.Core.Analysis.Metadata.Adomd;5using NBi.Core.Analysis.Metadata.Adomd.Command;6using NBi.Core.Analysis.Metadata.Adomd.Request;7using NBi.Core.Calculation;8using NBi.Core.Calculation.Predicate;9using NBi.Core.Calculation.Predicate.Numeric;10using NBi.Core.Calculation.Predicate.Text;11using NBi.Core.ResultSet;12using NBi.Core.ResultSet.Lookup;13using NBi.Core.ResultSet.Resolver;14using NBi.Core.Scalar.Resolver;15using NBi.Core.Sequence.Resolver;16using NBi.Core.Variable;17using NBi.Core.Variable.Resolver;18using System;19using System.Collections.Generic;20using System.Linq;21using System.Text;22using System.Threading.Tasks;23{24 {25 static void Main(string[] args)26 {27 var request = DiscoveryRequestFactory.Build(new DiscoveryRequestArgs()28 {29 ConnectionString = @"Provider=MSOLAP;Data Source=ServerName;Initial Catalog=DatabaseName",30 Command = new AdomdCommandFactory().Build(new AdomdCommandArgs()31 {32 {33 new Measure("MeasureName")34 },35 {36 new Dimension("DimensionName")37 }38 })39 });40 }41 }42}43using NBi.Core.Analysis.Request;44using NBi.Core.Analysis.Member;45using NBi.Core.Analysis.Metadata;46using NBi.Core.Analysis.Metadata.Adomd;47using NBi.Core.Analysis.Metadata.Adomd.Command;48using NBi.Core.Analysis.Metadata.Adomd.Request;49using NBi.Core.Calculation;50using NBi.Core.Calculation.Predicate;51using NBi.Core.Calculation.Predicate.Numeric;52using NBi.Core.Calculation.Predicate.Text;53using NBi.Core.ResultSet;54using NBi.Core.ResultSet.Lookup;55using NBi.Core.ResultSet.Resolver;56using NBi.Core.Scalar.Resolver;57using NBi.Core.Sequence.Resolver;58using NBi.Core.Variable;59using NBi.Core.Variable.Resolver;60using System;61using System.Collections.Generic;62using System.Linq;63using System.Text;64using System.Threading.Tasks;

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1NBi.Core.Analysis.Request.DiscoveryRequestFactory factory = new NBi.Core.Analysis.Request.DiscoveryRequestFactory();2NBi.Core.Analysis.Request.IDiscoveryRequest request = factory.Build("select * from [Sheet1$]");3NBi.Core.Analysis.Request.DiscoveryRequestFactory factory = new NBi.Core.Analysis.Request.DiscoveryRequestFactory();4NBi.Core.Analysis.Request.IDiscoveryRequest request = factory.Build("select * from [Sheet1$]", new NBi.Core.Analysis.Request.DiscoveryRequestFactoryArgs() { ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\\Test.xlsx;Extended Properties='Excel 12.0;HDR=Yes;IMEX=1';" });5NBi.Core.Analysis.Request.DiscoveryRequestFactory factory = new NBi.Core.Analysis.Request.DiscoveryRequestFactory();6NBi.Core.Analysis.Request.IDiscoveryRequest request = factory.Build("select * from [Sheet1$]", new NBi.Core.Analysis.Request.DiscoveryRequestFactoryArgs() { ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\\Test.xlsx;Extended Properties='Excel 12.0;HDR=Yes;IMEX=1';", Variables = new Dictionary<string, object>() { { "var1", "value1" } } });7NBi.Core.Analysis.Request.DiscoveryRequestFactory factory = new NBi.Core.Analysis.Request.DiscoveryRequestFactory();8NBi.Core.Analysis.Request.IDiscoveryRequest request = factory.Build("select * from [Sheet1$]", new NBi.Core.Analysis.Request.DiscoveryRequestFactoryArgs() { ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\\Test.xlsx;Extended Properties='Excel 12.0;HDR=Yes;IMEX=1';", Variables = new Dictionary<string, object>() { { "var1", "value1" } }, Culture = new System.Globalization.CultureInfo("en-US") });

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1using NBi.Core.Analysis.Request;2using NBi.Core.Analysis.Member;3using NBi.Core.Analysis.Request.Factory;4using NBi.Core.Analysis.Request.Factory.Combination;5using NBi.Core.Analysis.Request.Factory.Combination.Combinator;6using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Combination;7using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough;8using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough;9using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough;10using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough.Drillthrough;11using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough;12using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough;13using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough;14using NBi.Core.Analysis.Request.Factory.Combination.Combinator.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough.Drillthrough;

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1using NBi.Core.Analysis.Request;2using NBi.Core.Analysis.Metadata;3using NBi.Core.Analysis.Member;4using NBi.Core.Analysis.Request.Factory;5using NBi.Core.Analysis.Request.Resolver;6using NBi.Core.Analysis.Request;7using NBi.Core.Analysis.Member;8using NBi.Core.Analysis.Request.Factory;9using NBi.Core.Analysis.Request.Resolver;10using NBi.Core.Analysis.Metadata;11using NBi.Core.Analysis.Request;12using NBi.Core.Analysis.Member;13using NBi.Core.Analysis.Request.Factory;14using NBi.Core.Analysis.Request.Resolver;15using NBi.Core.Analysis.Metadata;16using NBi.Core.Analysis.Request;17using NBi.Core.Analysis.Member;18using NBi.Core.Analysis.Request.Factory;19using NBi.Core.Analysis.Request.Resolver;20using NBi.Core.Analysis.Metadata;21using NBi.Core.Analysis.Request;22using NBi.Core.Analysis.Member;23using NBi.Core.Analysis.Request.Factory;24using NBi.Core.Analysis.Request.Resolver;25using NBi.Core.Analysis.Metadata;26using NBi.Core.Analysis.Request;27using NBi.Core.Analysis.Member;28using NBi.Core.Analysis.Request.Factory;29using NBi.Core.Analysis.Request.Resolver;30using NBi.Core.Analysis.Metadata;31using NBi.Core.Analysis.Request;32using NBi.Core.Analysis.Member;33using NBi.Core.Analysis.Request.Factory;34using NBi.Core.Analysis.Request.Resolver;35using NBi.Core.Analysis.Metadata;36using NBi.Core.Analysis.Request;37using NBi.Core.Analysis.Member;38using NBi.Core.Analysis.Request.Factory;39using NBi.Core.Analysis.Request.Resolver;40using NBi.Core.Analysis.Metadata;41using NBi.Core.Analysis.Request;42using NBi.Core.Analysis.Member;43using NBi.Core.Analysis.Request.Factory;44using NBi.Core.Analysis.Request.Resolver;45using NBi.Core.Analysis.Metadata;46using NBi.Core.Analysis.Request;47using NBi.Core.Analysis.Member;48using NBi.Core.Analysis.Request.Factory;49using NBi.Core.Analysis.Request.Resolver;50using NBi.Core.Analysis.Metadata;51using NBi.Core.Analysis.Request;52using NBi.Core.Analysis.Member;53using NBi.Core.Analysis.Request.Factory;54using NBi.Core.Analysis.Request.Resolver;55using NBi.Core.Analysis.Metadata;56using NBi.Core.Analysis.Request;57using NBi.Core.Analysis.Member;58using NBi.Core.Analysis.Request.Factory;

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1using NBi.Core.Analysis.Request;2using NBi.Core.Analysis.Member;3using NBi.Core.Analysis.Metadata;4using NBi.Core.Analysis.Metadata.Adomd;5using NBi.Core.Analysis.Metadata.Adomd.Member;6using NBi.Core.Analysis.Metadata.Adomd;7using NBi.Core.Analysis.Metadata.Adomd.Member;8using NBi.Core.Analysis.Request;9using NBi.Core.Analysis.Request.Member;

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1var factory = new DiscoveryRequestFactory();2var request = factory.Build(1, 2, "select * from table1", "select * from table2");3var factory = new DiscoveryRequestFactory();4var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3");5var factory = new DiscoveryRequestFactory();6var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3", "select * from table4");7var factory = new DiscoveryRequestFactory();8var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3", "select * from table4", "select * from table5");9var factory = new DiscoveryRequestFactory();10var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3", "select * from table4", "select * from table5", "select * from table6");11var factory = new DiscoveryRequestFactory();12var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3", "select * from table4", "select * from table5", "select * from table6", "select * from table7");13var factory = new DiscoveryRequestFactory();14var request = factory.Build(1, 2, "select * from table1", "select * from table2", "select * from table3

Full Screen

Full Screen

Build

Using AI Code Generation

copy

Full Screen

1NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()2 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 3 new NBi.Core.Analysis.Metadata.MemberFactory(), 4 new NBi.Core.Analysis.Metadata.MemberFactory());5NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()6 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 7 new NBi.Core.Analysis.Metadata.MemberFactory(), 8 new NBi.Core.Analysis.Metadata.MemberFactory());9NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()10 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 11 new NBi.Core.Analysis.Metadata.MemberFactory(), 12 new NBi.Core.Analysis.Metadata.MemberFactory());13NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()14 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 15 new NBi.Core.Analysis.Metadata.MemberFactory(), 16 new NBi.Core.Analysis.Metadata.MemberFactory());17NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()18 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 19 new NBi.Core.Analysis.Metadata.MemberFactory(), 20 new NBi.Core.Analysis.Metadata.MemberFactory());21NBi.Core.Analysis.Request.DiscoveryRequest request = new NBi.Core.Analysis.Request.DiscoveryRequestFactory()22 .Build("SELECT * FROM [Adventure Works].[Sales].[Sales Order Detail]", 23 new NBi.Core.Analysis.Metadata.MemberFactory(), 24 new NBi.Core.Analysis.Metadata.MemberFactory());

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run NBi automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Most used method in DiscoveryRequestFactory

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful