We want to start using Asp.net web api for our future enterprise services, however we do not want to use EF to access data.
Are there any samples for Asp.net Web APi working with regular ado.net classes instead of EF?
Thank.
Are you looking for code examples to use, for example, SqlConnection, SqlCommand, SqlDataReader?
You should use the classes in System.Data.SqlClient if you are trying to talk to SQL Server, System.Data.OracleClient if you are trying to talk to Oracle or System.Data.Odbc if you are trying to talk to MySQL.
ADO.NET. !