Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 2
Joined: Mon 18 Feb 2008 17:13


Post by gamito » Mon 18 Feb 2008 17:16


I'm a newbie at MyDirect .NET

What is the "using" statement I have to put in my code file to use MyDirect .Net ?

Like this, for example:
using System.Data.SqlClient;

Any help would be appreciated.

Warm Regards,
Mário Gamito

Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Tue 19 Feb 2008 09:42

The using keyword has two major uses:
As a directive, when it is used to create an alias for a namespace or to import types defined in other namespaces.
See using Directive: ... S.80).aspx
As a statement, when it defines a scope at the end of which an object will be disposed.
See using Statement: ... S.80).aspx

Post Reply