Exemplo n.º 1
0
 protected override void Load(SafeDataReader dr)
 {
     m_id                = dr.GetInt32("id");
     m_name              = dr.GetString("name");
     m_region            = dr.GetString("region");
     m_phone             = dr.GetString("phone");
     m_fax               = dr.GetString("fax");
     m_notes             = dr.GetString("notes");
     m_active            = dr.GetBoolean("active");
     m_lastModified      = dr.GetDateTime("lastmodified");
     m_creationDate      = dr.GetDateTime("creationdate");
     m_updatedBy         = dr.GetString("updatedby");
     m_createdBy         = dr.GetString("createdby");
     m_defaultReturnType = (ReturnType)dr.GetInt32("default_return_type");
 }