Check for empty elements to avoid NullReferenceException.
[mono.git] / mcs / class / System.Data / System.Data / AcceptRejectRule.cs
1 //
2 // System.Data.AcceptRejectRule.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 namespace System.Data
11 {
12         
13         /// <summary>
14         /// Determines the action that occurs when 
15         /// the AcceptChanges or RejectChanges method 
16         /// is invoked on a DataTable with a ForeignKeyConstraint.
17         /// </summary>
18         [Serializable]
19         public enum AcceptRejectRule
20         {
21                 Cascade = 1,
22                 None = 0
23         }
24
25 }