If I start by pointing you to this question here, which was perfectly answered for what I needed, only for one problem of trying to be able to point a transaction back to the client.
Is anyone able to help with this? Thanks again in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need bi-directional association. This means that
Clienthas a reference toTransactionsand visa versa.You already have the Client to Transactions covered. There is nothing in the implementation of
List Of(T)that will provide a reference from the child elements to the parent (Or to the parent of the List to be more accurate).You have provide the implementation yourself. One approach is:
Thereby enforcing the rule that each transaction should be associated to a client.
Usage would then be: