diff --git a/fichier1/fichier1/Model/Partie.cs b/fichier1/fichier1/Model/Partie.cs
index 0c388850ae5b7f705531ee1b67c14b76615a7b2d..4cc3a31fe3035d99ae0923b8222864b519bf6ada 100644
--- a/fichier1/fichier1/Model/Partie.cs
+++ b/fichier1/fichier1/Model/Partie.cs
@@ -24,9 +24,9 @@ namespace fichier1.Model
 
             Random rnd = new Random();
 
-            Prefixe[] prefixe = context.Set<Prefixe>().ToArray();
-            Radical[] radical = context.Set<Radical>().ToArray();
-            Suffixe[] suffixe = context.Set<Suffixe>().ToArray();
+            Prefixe[] prefixe = context.Prefixes.ToArray();
+            Radical[] radical = context.Radicals.ToArray();
+            Suffixe[] suffixe = context.Suffixes.ToArray();
 
             for(int i = 0; i < nb; i++)
             {