Getting Started with Telerik OpenAccess ORM

2 posts, 0 answers
  1. Jose
    Jose avatar
    1 posts
    Member since:
    Mar 2013

    Posted 29 Mar 2013 Link to this post

    I'm new with SQL and I'm having problems starting this tutorial. My question is on the OpenAccessQuickStartDB database. On page 6 of the tutorial, we are asked to run a script to create the DB.

    Where should I run this script?
    Should I run it in SQL Server?
    Should I run it in Visual Studio?

    I have no idea where to copy/paste it and run it.

    I am using Visual Studio 2012, I have installed the free trial for RadControls for WPF.

    If you have a step by step procedure to run this script it would be really helpful.

    Thank you for your answer,
  2. Boris Georgiev
    Admin
    Boris Georgiev avatar
    190 posts

    Posted 02 Apr 2013 Link to this post

    Hello Jose,

    You could run the script both in SQL Server Management Studio and in Visual Studio.

    Here are the two procedures and the steps you should perform:
    A) In SQL Server Management Studio
    1) On the File menu, point to New, and then Database Engine Query.
    2) In the Connect to Database Engine dialog box, type either localhost or the name of the local SQL Server instance, and then click Connect. (Optional if you are not logged in the SQL Server)
    3) Paste the following Transact-SQL script in the query window and then click Execute.

    B) Visual Studio
    1) On the SQL menu, point to Transact-SQL Editor, and then New Query...
    2) In the Connect to Database Engine dialog box, type either localhost or the name of the local SQL Server instance, and then click Connect. (Optional if you are not logged in the SQL Server)
    3) Paste the following Transact-SQL script in the query window and then on the SQL menu, point to Transact-SQL Editor click Execute.

    Note that in case you are not using MS SQL Server, those steps are not valid - instead of the described database you should create your own test database and execute the tutorial with it.

    I hope that helps. Do not hesitate to get back to us if you have any other questions.

    Greetings,
    Boris Georgiev
    the Telerik team
    Free Webinar: OpenAccess Integration in Sitefinity. SIGN UP NOW.
  3. DevCraft banner
Back to Top