internal Group(IComparable key, string name, ShowTotal showTotalPosition, string totalName) { Key = key; Name = name; ShowTotal = showTotalPosition; TotalName = totalName; }
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; }
public GroupSpec <T> ShowTotalAs(ShowTotal showTotal) { ShowTotal = showTotal; return(this); }
public OlapCube ShowTotalAs(ShowTotal showTotal) { ShowTotal = showTotal; return(this); }