A common C# class to manipulate ralational database system using ADO.NET.
- compile the class library and add reference of the dlls including the "DatabaseInvoke.dll" and other dependencies (ADO Drivers of the databases) to your project.
- add using statement to your namespaces.
- you can call the functions by using the following code.
- connection resources will be cleaned automatically after the using code block
using (SqlManipulation sm = new SqlManipulation(Properties.Settings.Default.ConnectionString, (SqlType)(Enum.Parse(typeof(SqlType), Properties.Settings.Default.SqlType, true))))
{
sm.Init();
//call functions inside
sm.ExcuteNonQuery(sql);
sm.OracleBlobNonQuery(sqlBlob, Path);
}
alternatively, you can directly start a project from the solution. By adding a new project into the solution, you can easily make use of the class.
^_^ I have no idea. I am trying to keep the project simple to use. Issues and PRs are welcomed.