Ejemplo n.º 1
0
        public CompanyDataEnumerationCollection <T> this[
            CompanyUnitHierarchy CompanyUnitObj, string dataItemCode, int dataTableRef]
        {
            get
            {
                CompanyDataEnumerationCollection <T> tempColl =
                    this.GetAllDataEnumerationForCompanyHierarchy(
                        CompanyUnitObj.CompanyUnitRef, CompanyUnitObj.CompanyUnitParentRef,
                        CompanyUnitObj.CompanyUnitGrandParentRef, CompanyUnitObj.CompanyUnitGreatGrandParentRef);

                tempColl = tempColl.Find(dataTableRef);

                tempColl = tempColl.Find(dataItemCode);

                return(tempColl);
            }
        }
Ejemplo n.º 2
0
        public CompanyDataEnumerationCollection <T> this[
            string dataItemCode, int dataTableRef]
        {
            get
            {
                CompanyDataEnumerationCollection <T> tempColl = this.Find(dataTableRef);

                tempColl = tempColl.Find(dataItemCode);

                return(tempColl);
            }
        }
Ejemplo n.º 3
0
        public CompanyDataEnumerationCollection <T> this[
            CompanyUnitHierarchy CompanyUnitObj, params int[] dataTableRefs]
        {
            get
            {
                CompanyDataEnumerationCollection <T> tempColl =
                    this.GetAllDataEnumerationForCompanyHierarchy(
                        CompanyUnitObj.CompanyUnitRef, CompanyUnitObj.CompanyUnitParentRef,
                        CompanyUnitObj.CompanyUnitGrandParentRef, CompanyUnitObj.CompanyUnitGreatGrandParentRef);

                tempColl = tempColl.Find(dataTableRefs);

                return(tempColl);
            }
        }