void method7seq() { // <Snippet7> Northwnd db = new Northwnd(@"c:\northwnd.mdf"); IMultipleResults sprocResults = db.MultipleResultTypesSequentially(); // First read products. foreach (Product prod in sprocResults.GetResult <Product>()) { Console.WriteLine(prod.ProductID); } // Next read customers. foreach (Customer cust in sprocResults.GetResult <Customer>()) { Console.WriteLine(cust.CustomerID); } // </Snippet7> }