Hi Peshito
Thank you for your answer. It works.
But what if the object that is assigned to the datacontext is not an "object" but a Dictionary.
I mean in the example that you attach is posible not to assign the product object but assign a Dictionary to the context like
Dictionary<string, Product> myDictionary = new Dictionary<string, Product>();
myDictionary.Add("1",new Product () { StartDate=dateStart,EndDate:endDate,Data=items});
myDictionary.Add("2",new Product () { StartDate=dateStart,EndDate:endDate,Data=items});
(obviously Keeping the structure of product object )
Is this possible ?