public void AddNodeCategory(ObjectImporterCategory oic)
 {
     if (this._nodeCategories != null)
     {
         this._nodeCategories.Add(oic);
     }
 }
Пример #2
0
        private void _addErmCategoryInfo(SqlDataReader dr, ObjectImporterNode oin)
        {
            ObjectImporterCategory customCategory = new ObjectImporterCategory {
                CategoryName = "Tax And Finance:CORP-TAF-General"
            };

            customCategory.AddCategoryAttribute("End Year", Convert.ToString(dr["EndYear"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Legal Corporate Entity", Convert.ToString(dr["CorporateEntity"]), false, AttributeClearMode.DoNotClear, true);

            oin.AddNodeCategory(customCategory);
        }
Пример #3
0
        private void _addInternalAuditCategoryInfo(SqlDataReader dr, ObjectImporterNode oin)
        {
            ObjectImporterCategory customCategory = new ObjectImporterCategory {
                CategoryName = "Tax And Finance:CORP-TAF-Internal Audit"
            };

            customCategory.AddCategoryAttribute("Working Year", Convert.ToString(dr["WorkingYear"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Country", Convert.ToString(dr["Country"]), false, AttributeClearMode.DoNotClear, true);

            oin.AddNodeCategory(customCategory);
        }
Пример #4
0
        private void _addTaxCategoryInfo(SqlDataReader dr, ObjectImporterNode oin)
        {
            ObjectImporterCategory customCategory = new ObjectImporterCategory {
                CategoryName = "Tax And Finance:CORP-TAF-Tax"
            };

            customCategory.AddCategoryAttribute("Start Year", Convert.ToString(dr["StartYear"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("End Year", Convert.ToString(dr["EndYear"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Legal Corporate Entity", Convert.ToString(dr["CorporateEntity"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Document Author", Convert.ToString(dr["Author"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Tax Form Type", Convert.ToString(dr["TaxFormType"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Property Tax Type", Convert.ToString(dr["PropertyTaxFormType"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Property Tax Year", Convert.ToString(dr["PropertyTaxYear"]), false, AttributeClearMode.DoNotClear, true);
            customCategory.AddCategoryAttribute("Municipality", Convert.ToString(dr["District"]).Trim(), false, AttributeClearMode.DoNotClear, true);

            oin.AddNodeCategory(customCategory);
        }