MergeFailedEventHandler serializable

MergeFailedEventHandler serializable

System.Data (system.data.dll) delegate

This delegate represents the method that will handle the DataSet.MergeFailed event. This event occurs if you invoke DataSet.Merge( ) to combine two DataSet objects where source and target rows have a different primary key. Note that this event occurs only if DataSet.EnforceConstraints is set to true , and it doesn't occur if the schemas are invalid (in which case an exception is thrown before the merge process is started). When a merge fails, the DataSet.EnforceConstraints property is set to false , all the data is retained, and the rows that are invalid are marked with a descriptive DataRow.RowError . You can't reenable constraint checking until these conflicts are resolved.

 public delegate void  MergeFailedEventHandler  (object   sender   , MergeFailedEventArgs   e   ); 

Associated Events

DataSet.MergeFailed( )



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net