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