DBSet -Syntax

using System;
using System.Data.Entity;

//BlogContext is a sample class.It can be any class
//but make sure that the class must have to extend from DbContext Class
public class BlogContext:DbContext
    {
        //dbSet property declaration
        public virtual DbSet<Blog> Blogs { get; set; }
    }
Debmalya Banerjee