none
How to get the DBContext Class RRS feed

  • Question

  • Hai,

    I have installed the new version of EF ver4.1 in my system .. Even though i installed that i didn't get the DBContext Class to inherit to another class please Explain why.. ? And how to get and use that class..

    I am trying to create the class like

    using System.Data.Entity;

     

    publicclass ModelContext : DbContext // But here Dbcontext Class showing error like doen't n't co ntain the namespace name " DbContext " {

    }

    Regards!


    • Edited by V G S Naidu Saturday, April 21, 2012 6:57 AM
    Saturday, April 21, 2012 6:55 AM

Answers