Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the OlapCube class.
 /// </summary>
 /// <param name="server">The server that owns the cube.</param>
 /// <param name="name">The name of the cube.</param>
 /// <param name="serverHandle">The server handle.</param>
 public OlapCube(OlapServer server, string name, int serverHandle)
 {
     _serverHandle = serverHandle;
     _server       = server;
     _name         = name;
     _upperName    = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the OlapDimension class.
 /// </summary>
 /// <param name="server">The Olap server that owns this dimension.</param>
 /// <param name="name">The name of the dimension.</param>
 public OlapDimension(OlapServer server, string name)
 {
     _attributeTable1Cache = new System.Collections.Generic.Dictionary <string, object>(0);
     _attributeTable2Cache = new System.Collections.Generic.Dictionary <string, object>(0);
     _attributeTable3Cache = new System.Collections.Generic.Dictionary <string, object>(0);
     _cacheAttributeValues = true;
     _server  = server;
     _name    = name;
     _subsets = null;
     _dimensionInformation = null;
     _elements             = null;
     _attributeTables      = null;
     _hierarchyElements    = null;
     _upperName            = null;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the OlapDimensions class. This instance will provide all
 /// dimensions of the specified cube.
 /// </summary>
 /// <param name="server">The server that owns the dimensions.</param>
 /// <param name="cubeName">The name of the cube for which to get the dimensions.</param>
 public OlapDimensions(OlapServer server, string cubeName)
 {
     _server           = server;
     _cubeName         = cubeName;
     _accessCollection = null;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the OlapCubes class.
 /// </summary>
 /// <param name="server">The server that owns the cubes.</param>
 public OlapCubes(OlapServer server)
 {
     _server           = server;
     _accessCollection = null;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the OlapDimensions class. This instance will provide all
 /// dimensions of the server.
 /// </summary>
 /// <param name="server">The server that owns the dimensions.</param>
 public OlapDimensions(OlapServer server)
 {
     _server           = server;
     _cubeName         = null;
     _accessCollection = null;
 }