This is a migrated thread and some comments may be shown as answers.

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

1 Answer 25 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steven
Top achievements
Rank 1
Steven asked on 24 Jul 2015, 02:23 PM

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?

 Thanks!

1 Answer, 1 is accepted

Sort by
0
Pavel Uzunov
Telerik team
answered on 29 Jul 2015, 10:19 AM
Hi,

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.

Regards,
Pavel Uzunov
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Tags
Databases and Data Types
Asked by
Steven
Top achievements
Rank 1
Answers by
Pavel Uzunov
Telerik team
Share this question
or