SAB-E02/Blog.DAL/Infrastructure/BlogContext.cs
2017-04-09 12:48:18 +02:00

15 lines
256 B
C#

using System.Data.Entity;
using Blog.DAL.Model;
namespace Blog.DAL.Infrastructure
{
public class BlogContext : DbContext
{
public IDbSet<Post> Posts { get; set; }
public BlogContext() : base("Blog")
{
}
}
}