Demo of Forward Mapping using OpenAccess code first Fluent API

Thread is closed for posting
4 posts, 0 answers
  1. EE6BA259-C1C3-47B3-9647-CF02C8F33B19
    EE6BA259-C1C3-47B3-9647-CF02C8F33B19 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. 5B893B59-AA43-4633-975C-07F3B2A539CF
    5B893B59-AA43-4633-975C-07F3B2A539CF avatar
    375 posts
    Member since:
    Nov 2016

    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. EE6BA259-C1C3-47B3-9647-CF02C8F33B19
    EE6BA259-C1C3-47B3-9647-CF02C8F33B19 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. 5B893B59-AA43-4633-975C-07F3B2A539CF
    5B893B59-AA43-4633-975C-07F3B2A539CF avatar
    375 posts
    Member since:
    Nov 2016

    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

This Code Library is part of the product documentation and subject to the respective product license agreement.