コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the OlapAttributeTable class.
 /// </summary>
 /// <param name="dimension">The Olap dimension to which the attribute table belongs.</param>
 /// <param name="name">The name of the attribute table.</param>
 /// <param name="id">The id of the attribute table, i.e. the index of the table as it is stored in
 /// Olap.</param>
 /// <param name="fieldCount">The number of fields of the table.</param>
 /// <param name="recordCount">The number of records in the table.</param>
 public OlapAttributeTable(OlapDimension dimension, string name, int id, int fieldCount, int recordCount)
 {
     _dimension   = dimension;
     _name        = name;
     _id          = id;
     _fieldCount  = fieldCount;
     _recordCount = recordCount;
 }
コード例 #2
0
ファイル: OlapSubset.cs プロジェクト: kuchta/olapwarehouse
 /// <summary>
 /// Initializes a new instance of the OlapSubset class.
 /// </summary>
 /// <param name="dimension">The dimension that owns the subset.</param>
 /// <param name="refName">The reference name of the subset.</param>
 /// <param name="longName">The long name of the subset.</param>
 /// <param name="userName">The name of the user that created the subset.</param>
 /// <param name="type">The type of the subset.</param>
 /// <param name="saveResultSet">A flag that indicates whether the subset save the result sets or not.</param>
 public OlapSubset(OlapDimension dimension, string refName, string longName, string userName, OlapSubsetTypes type, bool saveResultSet)
 {
     _createdByUser = userName;
     _dimension     = dimension;
     _longName      = longName;
     _referenceName = refName;
     _saveResultSet = saveResultSet;
     _type          = type;
 }