コード例 #1
0
        private DataTable GetPartnerAttributeSystemCategoryTypeListTable(TDBTransaction AReadTransaction, string ATableName)
        {
            PPartnerAttributeCategoryRow template = new PPartnerAttributeCategoryTable().NewRowTyped(false);

            template.SystemCategory = true;

            TSharedDataCache.TMPartner.MarkSystemCategorySettingsConcatStrNeedsRefreshing();

            return(PPartnerAttributeTypeAccess.LoadViaPPartnerAttributeCategoryTemplate(template, null, null, AReadTransaction,
                                                                                        StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeTypeTable.GetTableDBName() + "." +
                                                                                                                               PPartnerAttributeTypeTable.GetIndexDBName() + " ASC" }), 0, 0));
        }
コード例 #2
0
        private DataTable GetContactTypeListTable(TDBTransaction AReadTransaction, string ATableName)
        {
            PPartnerAttributeCategoryRow template = new PPartnerAttributeCategoryTable().NewRowTyped(false);

            template.PartnerContactCategory = true;
            template.SystemCategory         = false;

            return(PPartnerAttributeTypeAccess.LoadViaPPartnerAttributeCategoryTemplate(template, null, null, AReadTransaction,
                                                                                        StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeTypeTable.GetTableDBName() + "." +
                                                                                                                               PPartnerAttributeTypeTable.GetIndexDBName() + " ASC" }), 0, 0));
        }