Hi, I am working with the Adapter. I have a CaseEntity which may or may not have a related BankAccount entity. I am retrieving the BankAccount as below, and am struggling to find a way that I can use to test whether there is a related BankAccount or not other than wrapping the whole thing in a try...catch. Can you tell me if this is the correct way, and if not suggest another?
Thanks
CaseEntity selectedCase = new CaseEntity(1);
myAdapter.FetchEntity(selectedCase);
// Now find it's related bank account in the join table
selectedCase.CaseBankAccount = (CaseBankAccountEntity)myAdapter.FetchNewEntity(new CaseBankAccountEntityFactory(), selectedCase.GetRelationInfoCaseBankAccount());