求助:AutoCAD.net 实体对象与mysql的blob类型的操作!
本帖最后由 zjzkz 于 2017-11-13 13:12 编辑测试的数据库:
部分代码:
MySqlConnection conn = DbMysql.MyConn();
conn.Open();
string sql = "select cad from text where id=1";
MySqlCommand cmd = new MySqlCommand(sql, conn);
MySqlDataReader EntityFromMysql = null;
try
{
EntityFromMysql = cmd.ExecuteReader();
... ... 怎么转换到Entity类型啊!!!
页:
[1]