Exemplo n.º 1
0
 public NamedSet this[string index]
 {
     get
     {
         NamedSet namedSet = this.Find(index);
         if (null == namedSet)
         {
             throw new ArgumentException(SR.Indexer_ObjectNotFound(index), "index");
         }
         return(namedSet);
     }
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public NamedSet(AsAdomdClient.NamedSet obj)
 {
     _obj = obj;
 }