troubleshooting Question

Code Structure

Avatar of adam_pedley
adam_pedley asked on
Visual Basic.NET
1 Comment1 Solution174 ViewsLast Modified:
Hi

Im trying to neaten up my code

Currently i have

namespace test
    public class testing
        Public objConn as oledbconnection
        Public Function Open() as boolean
             return true
        end function
        etc (close/modify/retrieve)

        public function getoledbschema_table() as datatable
                'uses objConn
        end function
        public function getoledbschema_column() as datatable

        end function
        public function getoledbschema_pk() as datatable

        end function
    end class
end namespace

What i want to achieve is when someone is accessing this dll

for them to go testing.getoledbschema.pk or testing.getoledbschema.table instead of testing.getoledbschema_table

and testing.open will still be on the first level

so i have added some structure to accessing functions

is there anyway to do this?

Thanks
Adam

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros