private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); lstClients.ItemsSource = from c in gst.client.ToList() where c.idcontroleur == monControleur.id select new ClientPerso(c.identifiant, c.nom, c.prenom, c.ancienReleve, c.dernierReleve); }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); lstControleurs.ItemsSource = gst.controleur.ToList(); }