Results 1 to 3 of 3

Thread: Entity SQL Code generation

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    420

    Entity SQL Code generation

    Currently within the entity framework, I have created a Entity Data Model. From this I have generated a .edmx.sql file which contains the Required SQL code. I have then tried to execute this code by right clocking on the code to select the execute option.

    However when i right click, the options are not there, all I get is cut, copy, breakpoint etc.

    I have tried reloading the VB.net installation and also the SQL server.

    Despite spending hours on this, i cant get the execute option to appear.

    Any help would be appreciated.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Entity SQL Code generation

    Go into project properties - under the debug tab - do you have ENABLE SQL SERVER DEBUGGING checked?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    420

    Re: Entity SQL Code generation

    When I go into the debug option, the option is not there. All I have is Command line Arguments, Working Directory & Enable the Visual Studio Hosting Process ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width