예제 #1
0
        public bool Contains(string table, string col, MySQLCondition[] conditions = null)
        {
            if (IsDisposed || !Connected || String.IsNullOrWhiteSpace(table) || String.IsNullOrWhiteSpace(col))
            {
                return(false);
            }

            MySQLRow row = SelectRow(table, new[] { col }, conditions);

            if (row != null && row[col] != MySQLData.Empty)
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
 public MySQLRow(MySQLRow row)
 {
     ID      = row.ID;
     Results = row.Results;
 }