Example #1
0
 private void WarnIfNull(QuackingDictionary row, string field)
 {
     if (row[field] == null)
     {
         Warn("Null in {0}! Type: {1}", field, row["type"]);
     }
 }
Example #2
0
        private static bool Equal(QuackingDictionary newRow, QuackingDictionary oldRow)
        {
            var fields = new string[] { "use", "lastused", "count", "created", "name", "server", "database", "schema", "dropped" };

            return(fields.All(field => newRow[field].Equals(oldRow[field])));
        }