I'm using self-servicing:
I've got two entities Employee and Photo
There is a one-to-many relationship so one employee can have many photo's.
Let's say I have this:
Dim x As Integer = frmSelectedEmployee.SelectedValue
Dim emp As EmployeeEntity(X)
Dim photos As PhotoCollection = emp.Photo
The telephone entity has a field named PhotoType which I want to filter on so that the photo collection will contain only those photo entities whose PhotoType = 3, how can I do that?
If I use photos.GetMulti(expression) at this point will that return a new collection or "trim" the collection I currently have instantiated?