예제 #1
0
        internal BankruptcyData GetBankruptcyDataBySGID(string submissionGroupId)
        {
            BankruptcyData bankruptcyData = new BankruptcyData();
            CommonGateway commongateway = new CommonGateway();
            bankruptcyData.BankruptcyInfoEntity = GetBankruptcyInfoBySGID(submissionGroupId);
            bankruptcyData.ListBankruptcyOtherDefDetailEntity = GetListBankruptcyOtherDefDetailBySGID(submissionGroupId);
            bankruptcyData.ListLegislationProvisionsEntity = commongateway.GetListLegislationProvisionsEntityBySGID(submissionGroupId);
            bankruptcyData.ListNatureOfCaseEntity = commongateway.GetListNatureOfCaseEntityBySGID(submissionGroupId);
            bankruptcyData.ListOtherITMOEntity = commongateway.GetListOtherITMOEntityBySGID(submissionGroupId);
            bankruptcyData.ListPrayerEntity = commongateway.GetListPrayerEntityBySGID(submissionGroupId);

            return bankruptcyData;
        }
예제 #2
0
 internal void SaveOrUpdateBankruptcyData(BankruptcyData bankruptcyData)
 {
     SaveOrUpdateBankruptcyInfoEntity(bankruptcyData.BankruptcyInfoEntity);
     SaveOrUpdateListBankruptcyOtherDefDetail(bankruptcyData.ListBankruptcyOtherDefDetailEntity);
     //SaveOrUpdateListNoOfSupportingDoc(bankruptcyData.ListNoOfSupportingDocEntity);
 }