public Kpi this[string index] { get { Kpi kpi = this.Find(index); if (null == kpi) { throw new ArgumentException(SR.Indexer_ObjectNotFound(index), "index"); } return(kpi); } }
internal static Kpi GetKpiByRow(AdomdConnection connection, DataRow row, CubeDef parentCube, string catalog, string sessionId) { Kpi kpi; if (row[0] is DBNull) { kpi = new Kpi(connection, row, parentCube, catalog, sessionId); row[0] = kpi; } else { kpi = (Kpi)row[0]; } return(kpi); }
public Kpi(AsAdomdClient.Kpi obj) { _obj = obj; }