private void frmQueryBuilder_Load(object sender, EventArgs e) { columns = new ArrayList(); rows = new ArrayList(); slicer = new ArrayList(); IEssIterator it = svr.getApplication(essApp).getCube(essDB).getDimensions(); for (int i = 0; i < it.getCount(); i++) { if (((IEssDimension)it.getAt(i)).getAttributeDimensionDataType() == IEssDimension.EEssAttributeDataType.NONE && ((IEssDimension)it.getAt(i)).getName() != "Attribute Calculations") { lboDimensions.Items.Add(((IEssDimension)it.getAt(i)).getName()); } } it = null; }
private void PopulateAppDBList() { ArrayList appCubeList = new ArrayList(); IEssIterator it = svr.getApplications(); for (int i = 0; i < it.getCount(); i++) { IEssIterator it2 = ((IEssOlapApplication)it.getAt(i)).getCubes(); for (int j = 0; j < it2.getCount(); j++) { appCubeList.Add(((IEssOlapApplication)it.getAt(i)).getName() + " | " + ((IEssCube)it2.getAt(j)).getName()); } } appCubeList.Sort(); cboAppDB.DataSource = appCubeList; }