Author: togakangaroo | Posted on: 7/14/2008 4:42:17 PM | Views : 507

Ok, so I have something similar to the following situation and my question is how do I deal with it?

You have something like this in your ORM:

 public class Customer {
public int CustomerId {
get {...}
}
public Product[] Products{
get { .. }
}
public static Customer Load(int id) {
...
}
}

public class Product {
public int ProductId {
get {...}
}
public Customer ParentCustomer {
get {...}
}
}

 
And you're designing a Custom Server Control DropDown that, given a customer, lists all their products

 public ...

Go to the complete details ...