AcceptRejectRule serializable

AcceptRejectRule serializable

System.Data ( enum

This enumeration sets values for the ForeignKeyConstraint.AcceptRejectRule property. It determines what happens to child rows when you call the DataRow.AcceptChanges( ) method of the parent row. With the default value ( None ) nothing happens. If you select Cascade , the DataRow.AcceptChanges( ) method is called automatically on all child rows when it is called on the parent.

The DataRow.AcceptChanges( ) method can be triggered in several ways. For example, if you call the DataTable.AcceptChanges( ) or DataSet.AcceptChanges( ) method, the AcceptChanges( ) method is called for every contained row. Also, if you update a data source using a data adapter, the DataRow.AcceptChanges( ) method is also called implicitly on each row once the change is committed to the data source.

 public enum  AcceptRejectRule  {  None = 0  ,  Cascade = 1  } 
Figure 34-2. Exceptions, delegates, and event arguments from System.Data


System.Object figs/u2192.gif System.ValueType figs/u2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/u2192.gif AcceptRejectRule

Returned By


Passed To

ForeignKeyConstraint.{AcceptRejectRule , ForeignKeyConstraint( )}

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

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: