Advertisement

04.14.2008 at 12:38PM PDT, ID: 23321509
[x]
Attachment Details

How to restrict access to TableAdapter

Asked by Prysson in C# Programming Language

Tags: c#

I want to restrict a TableAdapater so that the queries I create in the tableadapter are only accessible from classes in the same project.  The project is to be compiled into a DLL and I dont want someone able to directly access the table adapters via the dll...they shoudl have to use the methods created in the BLL to access the queries in the tableadapters.

Start Free Trial
[+][-]04.14.2008 at 12:46PM PDT, ID: 21353145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.14.2008 at 06:14PM PDT, ID: 21355267

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: c#
Sign Up Now!
Solution Provided By: dstanley9
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.15.2008 at 04:02AM PDT, ID: 21357509

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628