私は2つのクラスを持っています。
Employee (Model)
EmployeeInfo (Another Class)
//Employee GetEmployeeInfo(int empCode) (MethodName)
EmployeeInfoクラスは型を返しますEmployee。
では、とのrelationship間は何ですか? (集約、構成、または関連付け?)EmployeeEmployeeInfo
私の推測では、 の新しいインスタンスがEmployee内に作成されますEmployeeInfo。そのため、EmployeeInfoクラス オブジェクトが死ぬと、 も死にますEmployee。これは を意味しdeath relationshipます。それで、関係はComposition?
これが素朴な質問である場合は申し訳ありませんが、正しく理解できません。