public CommandResult(Packet p, Driver d) { driver = d; packet = p; fieldCount = (int)p.ReadLenInteger(); if (fieldCount == 0) affectedRows =(int)p.ReadLenInteger(); }
public void Open() { driver = new Driver(); driver.Open( settings ); createTime = DateTime.Now; }