Beispiel #1
0
        public IEnumerable <DatasetMember> GetDatasetMembers()
        {
            var dtSources = Integrations.Where(x => x != null).Skip(1); //Skip the root integration

            foreach (var source in dtSources)
            {
                yield return(new DatasetMember(source));
            }
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="dsName"></param>
        /// <returns></returns>
        public DatasetMember GetDatasetMember(string dsName)
        {
            var dtSources = Integrations.Where(x => x != null);//.Skip(1);

            foreach (var source in dtSources)
            {
                if (source.Name == dsName)
                {
                    return(new DatasetMember(source));
                }
            }
            return(null);
        }