I have two custom settings WSList and PList in a single method . I want to add these two lists i.e., under WSList , Plist should come as a related List . i am writing this code in utility class but not in controller or vf page Can any help me in resolving this?
edit: Thanks for the reply . Actually , i am mapping data from one custom object to 4 different custom settings . after mapping is done , In the custom settings , i have warranty , part , driver list custom settings , now here my problem is i need to have a either warranty list and part as related list or warra list and driver as related list to warranty list. this entire function should work in a single method only .