Skip to content

Commit

Permalink
Update create-model-save-query-scaffold.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeh committed Aug 12, 2019
1 parent 781ef9b commit 43d31d0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public class Post
public int BlogId { get; set; }
public Blog Blog { get; set; }
}

static void Main(string[] args)
{

using (var db = new BloggingContext())
{
var blog = new Blog { Url = "https://blogs.oracle.com" };
Expand All @@ -66,8 +66,6 @@ static void Main(string[] args)
{
var blogs = db.Blogs;
}

}

}
}

0 comments on commit 43d31d0

Please sign in to comment.