Beispiel #1
0
 internal bool FilterRow(DataTable table, DataRow newRow, SyncLogItem log_item)
 {
     foreach (SyncLinkFilter flt in this)
     {
         if (!flt.FilterRow(table, newRow, log_item))
         {
             return(false);
         }
     }
     return(true);
 }
Beispiel #2
0
 public override bool FilterRow(DataTable table, DataRow newRow, SyncLogItem log_item)
 {
     if (newRow.Table.Columns.Contains(FieldName))
     {
         return(string.Compare(newRow[FieldName].ToString(), FieldValue, true) == 0);
     }
     else
     {
         return(true);
     }
 }
Beispiel #3
0
 public abstract bool FilterRow(DataTable table, DataRow newRow, SyncLogItem log_item);