dapper.net for mysql



 
   
     
                 invariant="MySql.Data.MySqlClient"
           description=".Net Framework Data Provider for MySQL"
           type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.7.4, Culture=neutral, PublicKeyToken=2c7f6d112bbdac97" />
   

 



            using (IDbConnection conn = ConnectionFactory.SELECT)
            {
                string query =
@"SELECT xxxx
WHERE Status = 2";
                return conn.Query(query).ToList();
            }


 

 



http://www.cnblogs.com/yankliu-vip/p/4182892.html



你可能感兴趣的:(dapper.net for mysql)