Demo of Forward Mapping using OpenAccess code first Fluent API

4 posts, 0 answers
  1. Echarbeneau
    Echarbeneau avatar
    21 posts
    Member since:
    Nov 2006

    Posted 18 Jul 2011 Link to this post

    Requirements

    OpenAccess version 2011.2.713.3
    .NET version 4.0
    Visual Studio version 2010
    programming language C#

    PROJECT DESCRIPTION
    This demo uses the Fluent API code first approach of OpenAccess to create a database at run-time.

    To use this project OpenAccess must be installed:

    • Open the solution FluentAPI_Forward_Mapping
    • For each project in the solution add a reference to 
      Telerik.OpenAccess.dll
      Telerik.OpenAccess.35.Extensions
    • Open FluentAPI.Tests > Forward_Mapping_Tests.cs
    • Examine and modify the connection string as needed
    • Using JustCode's Test feature, execute the Tests
      Right Click Forward_Mapping_Tests.cs > Just Run Tests
      or use the Nunit test runner

  2. Serge
    Admin
    Serge avatar
    375 posts

    Posted 19 Jul 2011 Link to this post

    Hi Echarbeneau,

     Thank you for sharing this code library with us. I would just like to point out that you needn't remove the OpenAccess references from the projects, people can just use the upgrade references functionality and have them updated automatically. 

    Again thank you for sharing this code library with us please find your Telerik Points updated.

    Best wishes,
    Serge
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Echarbeneau
    Echarbeneau avatar
    21 posts
    Member since:
    Nov 2006

    Posted 19 Jul 2011 Link to this post

    Thanks for the tip. I wasn't sure about Trial vs. Full editions so I went ahead and removed the dll's completely.
  4. Serge
    Admin
    Serge avatar
    375 posts

    Posted 20 Jul 2011 Link to this post

    Hello Echarbeneau,

     Actually the Trial and Full edition assembly are just the same, the only thing that is different is the enhancer used to enhance your assemblies.

    Nevertheless thank you for sharing the example with us.

    Greetings,
    Serge
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top