none
How to get dbcontext and dbset class RRS feed

  • Question

  • Hi all,

    Hope doing well,

    could you please help me how to get dbcontext and dbset class. I have already used using system.data.entity but i am not getting these classes.

    Thanks  in advance


    vicky Bangalore

    Friday, February 17, 2012 6:50 AM

Answers

All replies

  • Did you add the reference to the EntityFramework.dll?

    Thanks

    Friday, February 17, 2012 11:12 AM
  • Hi Vicky;

    Is this a Database First or Code First set up?

     


    Fernando (MCSD)

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    Friday, February 17, 2012 2:17 PM
  • Hi vicky,

    Welcome to MSDN Forum.

    Could you please tell me which version of EF you are using? DBContext and DBSet are classes which only contained in EF4.1 or later version.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Monday, February 20, 2012 3:35 AM
    Moderator
  • Hi vicky,

    Have you solved the issue? I look forward to hearing from you.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, February 23, 2012 1:03 AM
    Moderator