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)); } }
/// <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); }