ADO.NET Applications from SQL Server to MySQL

What is ADO.NET?

ADO.NET is a set of computer software components that programmers can use to access data and data services. It is a part of the base class library that is included with the Microsoft .NET Framework. Microsoft provides ADO.NET Data Provider for SQL Server (System.Data.SqlClient namespace) to access SQL Server. To access MySQL, you can use MySQL Connector/NET, a native ADO.NET Data Provider for MySQL (MySql.Data.MySqlClient namespace).

Why Ispirer MnMTK?

MnMTK helps you to automatically perform comprehensive assessment and migration of embedded SQL statements (dynamic SQL) as well as ADO.NET provider classes & methods in .NET applications. With MnMTK there is no need extracting SQL statements from application code and convert them separately. The tool completes the whole migration process internally.

Conversion features

Ispirer MnMTK automates the following migration activities:

  • Changing Connection String
  • Changing ADO.NET namespaces:
  • MSSQLServerMySQL
    System.Data.SqlClientMySql.Data.MySqlClient

  • Mapping Basic ADO.NET Classes:
  • .NET FrameworkMSSQLServerMySQL
    ConnectionSqlConnectionMySqlConnection
    CommandSqlCommandMySqlCommand
    DataReaderSqlDataReaderMySqlDataReader
    DataAdapterSqlDataAdapterMySqlDataAdapter
    ParameterSqlParameterMySqlParameter
    Etc.

  • Converting Dynamic SQL language elements and built-in functions with different syntax in SQL Server and MySQL
MS SQL ServerMySQL
  1. SqlDataAdapter da = new SqlDataAdapter();
  2. da.SelectCommand = new SqlCommand("SELECT ISNULL(Itemtypeid,'N/A') FROM ItemTypeMaster", _conn);
  1. MySqlDataAdapter da = new MySqlDataAdapter();
  2. da.SelectCommand = new MySqlCommand("SELECT IFNULL(Itemtypeid,'N/A') FROM ItemTypeMaster", _conn);

How to convert?

A detailed description of such migration process can be found at: Embedded SQL and Database Access API Migration

Assessment

The product can be an effective assessment tool for your project. The assessment process is a turn-key solution for estimating efforts and costs of migration. For ADO.NET and Dynamic SQL in .NET applications conversion the assessment can involve the following:

  • Identify source files containing database access code statements
  • Identify lines of code with database related statements
  • Identify SQL statements

MnMTK automates the entire migration of ADO.NET and Dynamic SQL in .NET applications. This allows you to dramatically decrease conversion risks and significantly reduce in-house efforts. Reasonable pricing strategy makes Ispirer MnMTK even more powerful instrument for such migration type.

Get in touch with us!

Have questions about migration from to ?

Contact Us