Просмотр исходного кода

2003-12-16 Tim Coleman <[email protected]>
* KeyRestrictionBehavior.cs:
New stubs added for .NET 1.2
* DataTable.cs:
Changes for 1.2

svn path=/trunk/mcs/; revision=21258

Tim Coleman 22 лет назад
Родитель
Сommit
aadaf043bb

+ 6 - 0
mcs/class/System.Data/System.Data/ChangeLog

@@ -1,3 +1,9 @@
+2003-12-16  Tim Coleman <[email protected]>
+	* KeyRestrictionBehavior.cs:
+		New stubs added for .NET 1.2
+	* DataTable.cs:
+		Changes for 1.2
+
 2003-12-08 Eran Domb <[email protected]>
 	* DataColumn.cs (Expression) : Validate the expression.
 	

+ 2 - 2
mcs/class/System.Data/System.Data/DataTable.cs

@@ -466,7 +466,7 @@ namespace System.Data {
 		/// on a form or used by another component. The initialization
 		/// occurs at runtime.
 		/// </summary>
-		public void BeginInit () 
+		public virtual void BeginInit () 
 		{
 		}
 
@@ -654,7 +654,7 @@ namespace System.Data {
 		/// initialization occurs at runtime.
 		/// </summary>
 		[MonoTODO]
-		public void EndInit () 
+		public virtual void EndInit () 
 		{
 
 		}

+ 20 - 0
mcs/class/System.Data/System.Data/KeyRestrictionBehavior.cs

@@ -0,0 +1,20 @@
+//
+// System.Data.KeyRestrictionBehavior
+//
+// Author:
+//     Tim Coleman <[email protected]>
+//
+// Copyright (C) Tim Coleman, 2003
+//
+
+#if NET_1_1
+
+namespace System.Data {
+	public enum KeyRestrictionBehavior
+	{
+		AllowOnly,
+		PreventUsage
+	}
+}
+
+#endif