C# Import/Using statements for Microsoft SQL

What do you need to import with the “using” statement in C# to be able to work with SQL?

For Microsoft


using System.Data;
using System.Data.SqlClient; 

System.Data includes the DataReader, DataAdapter, Connetions, Commands and so on (from ADO.NET).

For Oracle


using System.Data;
using Oracle.ManagedDataAccess.Client;
using Oracle.ManagedDataAccess.Types;

Leave a Reply

Recent Posts

Archives

Categories

Meta

All Rights Reserved Theme by 404 THEME.