public MiningStructureColumn this[int index]
 {
     get
     {
         if (index < 0 || index >= this.Count)
         {
             throw new ArgumentOutOfRangeException("index");
         }
         DataRow row = this.internalCollection[index];
         return(MiningStructureColumnCollectionInternal.GetMiningStructureColumnByRow(base.Connection, row, this.parentObject, base.Catalog, base.SessionId));
     }
 }
        public MiningStructureColumn Find(string index)
        {
            if (index == null)
            {
                throw new ArgumentNullException("index");
            }
            DataRow dataRow = base.FindObjectByName(index, null, MiningStructureColumn.miningStructureColumnNameColumn);

            if (dataRow == null)
            {
                return(null);
            }
            return(MiningStructureColumnCollectionInternal.GetMiningStructureColumnByRow(base.Connection, dataRow, this.parentObject, base.Catalog, base.SessionId));
        }
 internal MiningStructureColumnsEnumerator(MiningStructureColumnCollectionInternal miningStructureColumns)
 {
     this.miningStructureColumns = miningStructureColumns;
     this.currentIndex           = -1;
 }
Exemple #4
0
 internal MiningStructureColumnCollection(AdomdConnection connection, MiningStructureColumn parentColumn)
 {
     this.miningStructureColumnCollectionInternal = new MiningStructureColumnCollectionInternal(connection, parentColumn);
 }