Пример #1
0
 public TaxaUnit GetParent(TaxaUnit taxaUnit)
 {
     if (taxaUnit != null)
     {
         return(this.GetParent(taxaUnit.Identity));
     }
     return(null);
 }
Пример #2
0
 public IEnumerable <TaxaUnit> GetChildren(TaxaUnit parentUnit)
 {
     if (parentUnit != null)
     {
         return(this.GetChildren(parentUnit.Identity));
     }
     return(null);
 }
Пример #3
0
 public bool Delete(TaxaUnit taxaUnit)
 {
     if (taxaUnit != null)
     {
         return(this.Delete(taxaUnit.Identity));
     }
     return(false);
 }
Пример #4
0
 public bool Equals(TaxaUnit other)
 {
     if (other != null)
     {
         return(this.Identity.Equals(other.Identity));
     }
     return(false);
 }
		public bool Remove(TaxaUnit taxaUnit, TaxaCommonName taxaCommonName)
		{
			return this.Remove(taxaUnit.Identity, taxaCommonName.Identity);
		}
		public bool Add(TaxaUnit taxaUnit, TaxaCommonName taxaCommonName)
		{
			return this.Add(taxaUnit.Identity, taxaCommonName.Identity);
		}
		public abstract IEnumerable<TaxaCommonName> GetCommonNamesByTaxa(TaxaUnit taxa);
Пример #8
0
 public abstract bool CanUpdate(TaxaUnit taxaUnit);
Пример #9
0
 public abstract bool CanDelete(TaxaUnit taxaUnit);
Пример #10
0
 public abstract bool HasParent(TaxaUnit taxaUnit);
Пример #11
0
 public abstract bool HasChildren(TaxaUnit taxaUnit);