コード例 #1
0
 internal static void AddMemberBinaryRestrictionIfApplicable(AdomdConnection connection, ListDictionary restrictions)
 {
     if (connection.IsPostYukonProvider())
     {
         restrictions.Add("TREE_OP", 72);
     }
 }
コード例 #2
0
 internal static void AddCubeSourceRestrictionIfApplicable(AdomdConnection connection, ListDictionary restrictions)
 {
     if (connection.IsPostYukonProvider())
     {
         restrictions.Add(AdomdUtils.cubeSourceRestrictionName, AdomdUtils.cubeSourceAll);
     }
 }
コード例 #3
0
 internal static bool ShouldAddObjectVisibilityRestriction(AdomdConnection connection)
 {
     return(connection.ShowHiddenObjects && connection.IsPostYukonProvider());
 }