2
using (ObjectContext ctx = new ObjectContext("name=kinectEntities"))
{
ctx.DefaultContainerName = "kinectEntities";
ObjectSet<produtos> query = ctx.CreateObjectSet<produtos>();
foreach (produtos r in query)
{
//percorrendo registros da base.. monta as parada aqui..
var button = new KinectTileButton { Label = (r.valor).ToString(CultureInfo.CurrentCulture) };
this.wrapPanel.Children.Add(button);
}
};
I have this code only it returns me all products. I do not know how to use Where to filter my result by category.
Gave error Error 2 Delegate 'System.Func<Microsoft.Samples.Kinect.InteractionGallery.products,int,bool>' does not take 1 Arguments E: Usuario Documents Visual Studio 2012 Clean Showcase Views Articleview.xaml.Cs 54 45 Showcase
– hmenezes
managed to resolve ?
– Marco Souza
Yes I did, thank you very much
– hmenezes