質問編集履歴
2
typo
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
public string Email { get; set; }
|
18
18
|
public DateTime Birthday { get; set; }
|
19
19
|
|
20
|
-
public DbSet<Favorite>
|
20
|
+
public DbSet<Favorite> Favorites { get; set; } = new DbSet<Favorite> { { "Id=" 1, Name= "movie", "sports", "book" };} }<-この行です。
|
21
21
|
}
|
22
22
|
|
23
23
|
public class Favorite {
|
1
typo
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,10 +17,10 @@
|
|
17
17
|
public string Email { get; set; }
|
18
18
|
public DateTime Birthday { get; set; }
|
19
19
|
|
20
|
-
public DbSet<
|
20
|
+
public DbSet<Favorite> Favorits { get; set; } = new DbSet<Favorite> { { "Id=" 1, Name= "movie", "sports", "book" };} }<-この行です。
|
21
21
|
}
|
22
22
|
|
23
|
-
public class
|
23
|
+
public class Favorite {
|
24
24
|
public int Id { get; set; }
|
25
25
|
public string Name { get; set; }
|
26
26
|
}
|