Advertisement

04.15.2008 at 09:12AM PDT, ID: 23324202
[x]
Attachment Details

Making a DataSet Internal to an assembly

Asked by Prysson in C# Programming Language

Tags: c#

I have a DataSet I use to create Table Adapter to point to a database.

I have set the table adapter to internal which allows me to make them inaccessible outside of teh assemply.

What I am trying to do now is find a way to make the entire Dataset accessible only inside the assembly...so that the only access to it is via my bll class that handles all teh logic I basically dont want anyone to be able to use the Dataset except through my logic class...

Is there an easy way to make an entire DataSet internally accessibly only?

I tried just setting the whol Dataset partial class to internal but then I get errors on the public classes in the bll class for having inconsistent accessibility.

Any ideas?Start Free Trial
[+][-]04.15.2008 at 09:35AM PDT, ID: 21360226

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.15.2008 at 09:45AM PDT, ID: 21360323

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.

 
[+][-]04.15.2008 at 09:48AM PDT, ID: 21360349

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: TheLearnedOne
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.15.2008 at 09:53AM PDT, ID: 21360395

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.15.2008 at 09:54AM PDT, ID: 21360417

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.15.2008 at 10:10AM PDT, ID: 21360559

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.

 
[+][-]04.15.2008 at 10:28AM PDT, ID: 21360728

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