title: C# - MySQL Prevent TINYINT(1) to Boolean Conversion
body: <p>Is there any way to prevent the conversion from TINYINT(1) to boolean? Or perhaps convert it to int instead?</p>
  
  <p>My TINYINT(1) column can have data such as 0, 1, 2, 3. But it is being converted to False, True, True, True respectively.</p>
  
  <p>Here is the code that I currently use:</p>
  
  <pre><code>using (Cmd = new MySqlCommand())
  {
      Cmd.Connection = Conn;
      SetQuery();
  
      using (var dt = new DataTable())
      {
          dt.Load(Cmd.ExecuteReader());
          ObjectList = dt.AsEnumerable().ToArray();=
      }
  
      Parse();
  
      return ObjectList != null;
  }
  </code></pre>
  
  <p>Hope you can help me with this problem.</p>
  
  <p>Thanks in advance.</p>