where can I find the code for GetCustomerList(), GetOrderList() for the LINQ 101 samples
where can I find the code for GetCustomerList(), GetOrderList() for the LINQ 101 samples
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You really don’t need them, and I don’t think they are provided. They are just placeholders for however you get your list to begin with. All that matters is they are returning a list of a specific type that the LINQ query expects.
Edit: If you’re just looking to play around with the samples, you could make a method that’s just a stub to provide dummy data, something like:
Of course I don’t know what your customer class has for properties, so adjust that appropriately.