Hello,
I wish to do something like the following in my data layer
public IEnumerable<{string,int}> ListIngredients()
{
return from i in RecipeIngredients select new {i.Ingredient.Name, i.Quantity};
}
this obviously doesnt work. c# will only let me return IEnumerable and i wish to expose the structure.