File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
source/includes/quick-start Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 14
14
15
15
var db = MflixDbContext . Create ( client . GetDatabase ( "sample_mflix" ) ) ;
16
16
17
- var movie = db . Movies . First ( m => m . title == "Back to the Future" ) ;
18
- Console . WriteLine ( movie . plot ) ;
17
+ var movie = db . Movies . First ( m => m . Title == "Back to the Future" ) ;
18
+ Console . WriteLine ( movie . Plot ) ;
19
19
20
20
internal class MflixDbContext : DbContext
21
21
{
@@ -42,7 +42,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
42
42
internal class Movie
43
43
{
44
44
public ObjectId _id { get ; set ; }
45
- public string title { get ; set ; }
46
- public string rated { get ; set ; }
47
- public string plot { get ; set ; }
45
+ public string Title { get ; set ; }
46
+ public string Rated { get ; set ; }
47
+ public string Plot { get ; set ; }
48
48
}
You can’t perform that action at this time.
0 commit comments