ajout d'une exception persolinq
continuous-integration/drone/push Build is passing Details

connexion
Nicolas MAYE 2 years ago
commit 4076bac802

@ -16,5 +16,7 @@ namespace IHM
public partial class App : Application public partial class App : Application
{ {
public Manager AllInscrits { get; private set; } = new Manager(new LinqToPgSQL.PersLinqToPgSQL()); public Manager AllInscrits { get; private set; } = new Manager(new LinqToPgSQL.PersLinqToPgSQL());
//public Manager AllInscrits { get; private set; } = new Manager(new Stub());
} }
} }

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Data;
namespace IHM.Converters
{
public class Func2WindowPartConverter : IValueConverter
{
public object? Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
Func<UserControl>? windowPartCreator = value as Func<UserControl>;
if (windowPartCreator == null)
{
return null;
}
return windowPartCreator();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}

@ -64,5 +64,6 @@ namespace IHM
testSelect(); testSelect();
/* testSuppression();*/ /* testSuppression();*/
} }
} }
} }

@ -12,6 +12,8 @@ namespace Model
public List<Inscrit> Inscrits = new(); public List<Inscrit> Inscrits = new();
public List<Compte> Comptes = new(); public List<Compte> Comptes = new();
// ajouter load all pour tout les inscrits // ajouter load all pour tout les inscrits
public List<Inscrit> LoadInscrit() public List<Inscrit> LoadInscrit()

Loading…
Cancel
Save