Namespace for OAParameter, missing a using directive or an assembly reference

Thread is closed for posting
2 posts, 0 answers
  1. Steven
    Steven avatar
    3 posts
    Member since:
    Feb 2015

    Posted 24 Jul 2015 Link to this post

    I've ran into the .net dreaded message: Are you missing a using directive or an assembly reference?

     I'm just trying to use parametrized queries with the Fluent API.

    OAParameter oaParameter = new OAParameter();

     Do you guys know what the namespace is for this object?


  2. Pavel Uzunov
    Pavel Uzunov avatar
    14 posts

    Posted 29 Jul 2015 Link to this post


    Thank you for contacting us.

    First of all you should have a Telerik.DataAccess.Core nuget package. When you add it in your project, visual studio intellisense should recognize his usages and show you option to add the new using. However, the namespace is Telerik.OpenAccess.Data.Common.OAParameter and it is in Telerik.OpenAccess assembly.
    You can read more for the parameterized queries here.

    I hope the provided information is helpful.

    Pavel Uzunov
    Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Back to Top