internal MiningServiceParameterCollectionInternal(AdomdConnection connection, MiningService parentService) : base(connection)
        {
            string name = parentService.Name;

            this.parentService = parentService;
            ListDictionary listDictionary = new ListDictionary();

            listDictionary.Add(MiningServiceParameterCollectionInternal.serviceNameRest, name);
            ObjectMetadataCache objectCache = new ObjectMetadataCache(connection, InternalObjectType.InternalTypeMiningServiceParameter, MiningServiceParameterCollectionInternal.schemaName, listDictionary);

            base.Initialize(objectCache);
        }
 public MiningService this[string index]
 {
     get
     {
         MiningService miningService = this.Find(index);
         if (null == miningService)
         {
             throw new ArgumentException(SR.Indexer_ObjectNotFound(index), "index");
         }
         return(miningService);
     }
 }
        private MiningService GetMiningServiceByRow(DataRow row)
        {
            MiningService miningService;

            if (row[0] is DBNull)
            {
                miningService = new MiningService(row, base.Connection, this.populatedTime, base.Catalog, base.SessionId);
                row[0]        = miningService;
            }
            else
            {
                miningService = (MiningService)row[0];
            }
            return(miningService);
        }
Beispiel #4
0
 internal MiningServiceParameterCollection(AdomdConnection connection, MiningService parentService)
 {
     this.miningServiceParameterCollectionInternal = new MiningServiceParameterCollectionInternal(connection, parentService);
 }