I have this:
public class Item1 {
public string Value1;
public string Value2;
}
public class Item2: Item1 {
public string Value3;
}
I want to query two stored procedures, one returns Value1 and Value2, and the other returns Value3. I'm doing it but what I get is a Item1 object and an Item2 object.
Is there a way that I can query the two stored procedures and combine the result in a single Item2 object?