Exemple #1
0
    protected QueryTable QueryCube(int layerid)
    {
        string database = (string)Session["DatabaseName"];
        string siteDim = (string)Session["SiteDim"];
        Dictionary<int, string> layerDictionary = (Dictionary<int, string>)Session["LayerDictionary"];
        QueryTable qt = new QueryTable(database, siteDim, layerDictionary);

        MemberState ms = (MemberState)Session["MemberState"];
        bool regionIsInt = (bool)Session["RegionIsInt"];
        qt.createTableFromQuery(layerid, ms, regionIsInt);
        return qt;
    }