示例#1
0
 internal Group(IComparable key, string name, ShowTotal showTotalPosition, string totalName)
 {
     Key       = key;
     Name      = name;
     ShowTotal = showTotalPosition;
     TotalName = totalName;
 }
示例#2
0
文件: GroupSpec.cs 项目: baskard/OLAP
 internal GroupSpec(OlapCube cube, Func <IOlapDataVector, object> groupSelector)
 {
     Cube          = cube;
     GroupSelector = groupSelector;
     KeySelector   = v => groupSelector(v) as IComparable;
     NameSelector  = v => Convert.ToString(groupSelector(v));
     ShowTotal     = ShowTotal.Top;
 }
示例#3
0
文件: GroupSpec.cs 项目: baskard/OLAP
 public GroupSpec <T> ShowTotalAs(ShowTotal showTotal)
 {
     ShowTotal = showTotal;
     return(this);
 }
示例#4
0
文件: OlapCube.cs 项目: lanicon/OLAP
 public OlapCube ShowTotalAs(ShowTotal showTotal)
 {
     ShowTotal = showTotal;
     return(this);
 }