Author: atsushi
Date: 2007-10-02 03:29:48 -0400 (Tue, 02 Oct 2007)
New Revision: 86734
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataParameter.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataRelationship.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTable.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTableBase.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataView.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDataEnvironment.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDesignerDataSchema.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/QueryBuilderMode.cs
trunk/mcs/class/System.Design/System.Data.Design/
trunk/mcs/class/System.Design/System.Data.Design/ChangeLog
trunk/mcs/class/System.Design/System.Data.Design/MethodSignatureGenerator.cs
trunk/mcs/class/System.Design/System.Data.Design/ParameterGenerationOption.cs
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGenerator.cs
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGeneratorException.cs
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetSchemaImporterExtension.cs
trunk/mcs/class/System.Design/System.Resources.Tools/
trunk/mcs/class/System.Design/System.Resources.Tools/ChangeLog
trunk/mcs/class/System.Design/System.Resources.Tools/StronglyTypedResourceBuilder.cs
Modified:
trunk/mcs/class/System.Design/ChangeLog
trunk/mcs/class/System.Design/Makefile
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
trunk/mcs/class/System.Design/System.Design.dll.sources
Log:
2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
* Makefile : added -r:System.Xml.dll
* System.Design.dll.sources : added couple more of new .NET 2.0 types.
* DesignerDataParameter.cs, DesignerDataRelationship.cs,
DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
new stubs and implementations.
* TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
TypedDataSetSchemaImporterExtension.cs :
new stubs and implementations.
* StronglyTypedResourceBuilder.cs : new stub.
Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog 2007-10-02 07:20:35 UTC (rev
86733)
+++ trunk/mcs/class/System.Design/ChangeLog 2007-10-02 07:29:48 UTC (rev
86734)
@@ -1,3 +1,8 @@
+2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * Makefile : added -r:System.Xml.dll
+ * System.Design.dll.sources : added couple more of new .NET 2.0 types.
+
2007-10-01 Atsushi Enomoto <[EMAIL PROTECTED]>
* System.Design.dll.sources : more new types:
Modified: trunk/mcs/class/System.Design/Makefile
===================================================================
--- trunk/mcs/class/System.Design/Makefile 2007-10-02 07:20:35 UTC (rev
86733)
+++ trunk/mcs/class/System.Design/Makefile 2007-10-02 07:29:48 UTC (rev
86734)
@@ -3,7 +3,7 @@
include ../../build/rules.make
LIBRARY = System.Design.dll
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Web.dll \
+LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Web.dll
\
-r:System.Windows.Forms.dll -r:System.Drawing.dll \
-r:Accessibility.dll -r:System.Data.dll
Modified:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
2007-10-02 07:20:35 UTC (rev 86733)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
2007-10-02 07:29:48 UTC (rev 86734)
@@ -1,3 +1,11 @@
+2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * DesignerDataParameter.cs, DesignerDataRelationship.cs,
+ DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
+ DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
+ IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
+ new stubs and implementations.
+
2007-10-01 Atsushi Enomoto <[EMAIL PROTECTED]>
* DataSourceGroupCollection.cs, DataSourceProviderService.cs,
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataParameter.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataParameter.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataParameter.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,65 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataParameter
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Drawing;
+using System.Data;
+
+namespace System.ComponentModel.Design.Data
+{
+ public sealed class DesignerDataParameter
+ {
+ string name;
+ DbType type;
+ ParameterDirection direction;
+
+ public DesignerDataParameter (string name, DbType dataType,
ParameterDirection direction)
+ {
+ this.name = name;
+ this.type = dataType;
+ this.direction = direction;
+ }
+
+ public DbType DataType {
+ get { return type; }
+ }
+
+ public string Name {
+ get { return name; }
+ }
+
+ public ParameterDirection Direction {
+ get { return direction; }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataParameter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataRelationship.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataRelationship.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataRelationship.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,70 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataRelationship
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public sealed class DesignerDataRelationship
+ {
+ string name;
+ ICollection parent_columns, child_columns;
+ DesignerDataTable child_table;
+
+ public DesignerDataRelationship (string name, ICollection
parentColumns, DesignerDataTable childTable, ICollection childColumns)
+ {
+ this.name = name;
+ this.parent_columns = parentColumns;
+ this.child_table = childTable;
+ this.child_columns = childColumns;
+ }
+
+ public string Name {
+ get { return name; }
+ }
+
+ public ICollection ParentColumns {
+ get { return parent_columns; }
+ }
+
+ public DesignerDataTable ChildTable {
+ get { return child_table; }
+ }
+
+ public ICollection ChildColumns {
+ get { return child_columns; }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataRelationship.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,50 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataSchemaClass
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public sealed class DesignerDataSchemaClass
+ {
+ public static readonly DesignerDataSchemaClass StoredProcedures
= new DesignerDataSchemaClass ();
+ public static readonly DesignerDataSchemaClass Tables = new
DesignerDataSchemaClass ();
+ public static readonly DesignerDataSchemaClass Views = new
DesignerDataSchemaClass ();
+
+ private DesignerDataSchemaClass ()
+ {
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,72 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataStoredProcedure
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public abstract class DesignerDataStoredProcedure
+ {
+ string name, owner;
+
+ [MonoTODO]
+ protected DesignerDataStoredProcedure (string name)
+ : this (name, null)
+ {
+ }
+
+ [MonoTODO]
+ protected DesignerDataStoredProcedure (string name, string
owner)
+ {
+ this.name = name;
+ this.owner = owner;
+ }
+
+ public string Name {
+ get { return name; }
+ }
+
+ public string Owner {
+ get { return owner; }
+ }
+
+ [MonoTODO]
+ public ICollection Parameters {
+ get { throw new NotImplementedException (); }
+ }
+
+ protected abstract ICollection CreateParameters ();
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTable.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTable.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTable.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,59 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataTable
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public abstract class DesignerDataTable : DesignerDataTableBase
+ {
+ protected DesignerDataTable (string name)
+ : base (name)
+ {
+ }
+
+ protected DesignerDataTable (string name, string owner)
+ : base (name, owner)
+ {
+ }
+
+ protected abstract ICollection CreateRelationships ();
+
+ [MonoTODO]
+ public ICollection Relationships {
+ get { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTable.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTableBase.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTableBase.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTableBase.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,70 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataTableBase
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public abstract class DesignerDataTableBase
+ {
+ string name, owner;
+
+ protected DesignerDataTableBase (string name)
+ : this (name, null)
+ {
+ }
+
+ protected DesignerDataTableBase (string name, string owner)
+ {
+ this.name = name;
+ this.owner = owner;
+ }
+
+ public string Name {
+ get { return name; }
+ }
+
+ public string Owner {
+ get { return owner; }
+ }
+
+ [MonoTODO]
+ public ICollection Columns {
+ get { throw new NotImplementedException (); }
+ }
+
+ protected abstract ICollection CreateColumns ();
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataTableBase.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataView.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataView.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataView.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,54 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataView
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public abstract class DesignerDataView : DesignerDataTableBase
+ {
+ string name, owner;
+
+ protected DesignerDataView (string name)
+ : base (name)
+ {
+ }
+
+ protected DesignerDataView (string name, string owner)
+ : base (name, owner)
+ {
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataView.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDataEnvironment.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDataEnvironment.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDataEnvironment.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,61 @@
+//
+// System.ComponentModel.Design.Data.IDataEnvironment
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Windows.Forms;
+using System.CodeDom;
+using System.Collections;
+using System.Data;
+using System.Data.Common;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public interface IDataEnvironment
+ {
+ ICollection Connections { get; }
+
+ DesignerDataConnection BuildConnection (IWin32Window owner,
DesignerDataConnection initialConnection);
+
+ string BuildQuery (IWin32Window owner, DesignerDataConnection
connection, QueryBuilderMode mode, string initialQueryText);
+
+ DesignerDataConnection ConfigureConnection (IWin32Window owner,
DesignerDataConnection connection, string name);
+
+ CodeExpression GetCodeExpression (DesignerDataConnection
connection);
+
+ IDesignerDataSchema GetConnectionSchema (DesignerDataConnection
connection);
+
+ DbConnection GetDesignTimeConnection (DesignerDataConnection
connection);
+
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDataEnvironment.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDesignerDataSchema.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDesignerDataSchema.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDesignerDataSchema.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,46 @@
+//
+// System.ComponentModel.Design.Data.IDesignerDataSchema
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public interface IDesignerDataSchema
+ {
+ ICollection GetSchemaItems (DesignerDataSchemaClass
schemaClass);
+
+ bool SupportsSchemaClass (DesignerDataSchemaClass schemaClass);
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/IDesignerDataSchema.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/QueryBuilderMode.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/QueryBuilderMode.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/QueryBuilderMode.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,47 @@
+//
+// System.ComponentModel.Design.Data.IDesignerDataSchema
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public enum QueryBuilderMode
+ {
+ Select,
+ Update,
+ Insert,
+ Delete
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/QueryBuilderMode.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/class/System.Design/System.Data.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Data.Design/ChangeLog 2007-10-02
07:20:35 UTC (rev 86733)
+++ trunk/mcs/class/System.Design/System.Data.Design/ChangeLog 2007-10-02
07:29:48 UTC (rev 86734)
@@ -0,0 +1,7 @@
+2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
+ TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
+ TypedDataSetSchemaImporterExtension.cs :
+ new stubs and implementations.
+
Added:
trunk/mcs/class/System.Design/System.Data.Design/MethodSignatureGenerator.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Data.Design/MethodSignatureGenerator.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.Data.Design/MethodSignatureGenerator.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,120 @@
+//
+// MethodSignatureGenerator.cs
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.CodeDom;
+using System.CodeDom.Compiler;
+using System.Collections;
+using System.ComponentModel.Design;
+
+namespace System.Data.Design
+{
+ public class MethodSignatureGenerator
+ {
+ public MethodSignatureGenerator ()
+ {
+ }
+
+ [MonoTODO]
+ public CodeDomProvider CodeProvider {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Type ContainerParameterType {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public string DataSetClassName {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool IsGetMethod {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool PagingMethod {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public ParameterGenerationOption ParameterOption {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public string TableClassName {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public CodeMemberMethod GenerateMethod ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string GenerateMethodSignature ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public CodeTypeDeclaration GenerateUpdatingMethods ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void SetDesignTableContent (string designTableContent)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void SetMethodSourceContent (string methodSourceContent)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Data.Design/MethodSignatureGenerator.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Data.Design/ParameterGenerationOption.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Data.Design/ParameterGenerationOption.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.Data.Design/ParameterGenerationOption.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,43 @@
+//
+// ParameterGenerationOption.cs
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Data.Design
+{
+ public enum ParameterGenerationOption
+ {
+ ClrTypes,
+ SqlTypes,
+ Objects
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Data.Design/ParameterGenerationOption.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGenerator.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGenerator.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++ trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGenerator.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,120 @@
+//
+// TypedDataSetGenerator.cs
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.CodeDom;
+using System.CodeDom.Compiler;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel.Design;
+using System.Data;
+using System.Data.Common;
+using System.Reflection;
+
+namespace System.Data.Design
+{
+ // It is likely replaced by System.Data.TypedDataSetGenerator-based
+ // implementation.
+
+ public sealed class TypedDataSetGenerator
+ {
+ private TypedDataSetGenerator ()
+ {
+ }
+
+#if NET_3_5
+ [Flags]
+ public enum GenerateOption
+ {
+ None = 0,
+ HierarchicalUpdate = 1,
+ LinqOverTypedDatasets = 2
+ }
+#endif
+
+ [MonoTODO]
+ public static ICollection<Assembly> ReferencedAssemblies {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public static string Generate (DataSet dataSet, CodeNamespace
codeNamespace, CodeDomProvider codeProvider)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Generate (string inputFileContent,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeDomProvider
codeProvider)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void Generate (string inputFileContent,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeDomProvider
codeProvider, Hashtable customDBProviders)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void Generate (string inputFileContent,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeDomProvider
codeProvider, DbProviderFactory specifiedFactory)
+ {
+ throw new NotImplementedException ();
+ }
+
+#if NET_3_5
+ [MonoTODO]
+ public static string Generate (string inputFileContent,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeDomProvider
codeProvider, GenerateOption option)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void Generate (string inputFileContent,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeDomProvider
codeProvider, Hashtable customDBProviders, GenerateOption option)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
+ [MonoTODO]
+ public static string GetProviderName (string inputFileContent)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string GetProviderName (string inputFileContent,
string tableName)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGenerator.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGeneratorException.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGeneratorException.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGeneratorException.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,99 @@
+//
+// System.Data.Design.TypedDataSetGeneratorException.cs
+//
+// Author: Duncan Mak ([EMAIL PROTECTED])
+//
+// (C) Ximian, Inc.
+
+//
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+// It is a copy from System.Data.TypedDataSetGeneratorException
+
+using System;
+using System.Collections;
+using System.Globalization;
+using System.Runtime.Serialization;
+
+namespace System.Data.Design {
+
+ [Serializable]
+ public class TypedDataSetGeneratorException : DataException
+ {
+
+ IList errorList;
+
+ #region Constructors
+ public TypedDataSetGeneratorException ()
+ : base (Locale.GetText ("System error."))
+ {
+ }
+
+ public TypedDataSetGeneratorException (IList list)
+ : base (Locale.GetText ("System error."))
+ {
+ errorList = list;
+ }
+
+ protected TypedDataSetGeneratorException (SerializationInfo
info, StreamingContext context)
+ : base (info, context)
+ {
+ int count = info.GetInt32 ("KEY_ARRAYCOUNT");
+ errorList = new ArrayList (count);
+
+ for (int i=0; i < count; i++)
+ errorList.Add (info.GetString("KEY_ARRAYVALUES"
+ i));
+ }
+
+#if NET_2_0
+ public TypedDataSetGeneratorException (String error) : base
(error)
+ {
+ }
+
+ public TypedDataSetGeneratorException (String error, Exception
inner)
+ : base (error, inner)
+ {
+ }
+#endif
+ #endregion //Constructors
+
+ public IList ErrorList {
+ get { return errorList; }
+ }
+
+ #region Methods
+
+ public override void GetObjectData (SerializationInfo si,
StreamingContext context)
+ {
+ base.GetObjectData (si, context);
+
+ int count = (errorList != null) ? ErrorList.Count : 0;
+ si.AddValue ("KEY_ARRAYCOUNT", count);
+
+ for (int i=0; i < count; i++)
+ si.AddValue("KEY_ARRAYVALUES" + i, ErrorList
[i]);
+ }
+
+ #endregion // Methods
+ }
+}
Property changes on:
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetGeneratorException.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetSchemaImporterExtension.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetSchemaImporterExtension.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetSchemaImporterExtension.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,72 @@
+//
+// TypedDataSetSchemaImporterExtension.cs
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.CodeDom;
+using System.CodeDom.Compiler;
+using System.Collections;
+using System.ComponentModel.Design;
+using System.Xml;
+using System.Xml.Schema;
+using System.Xml.Serialization;
+using System.Xml.Serialization.Advanced;
+
+namespace System.Data.Design
+{
+ public class TypedDataSetSchemaImporterExtension :
SchemaImporterExtension
+ {
+ public TypedDataSetSchemaImporterExtension ()
+ {
+ throw new NotImplementedException ();
+ }
+
+#if NET_3_5
+ protected TypedDataSetSchemaImporterExtension
(TypedDataSetGenerator.GenerateOption dataSetGenerateOptions)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
+ [MonoTODO]
+ public override string ImportSchemaType (XmlSchemaType type,
XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions
options, CodeDomProvider codeProvider)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override string ImportSchemaType (string name, string
namespaceName, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter
importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions options, CodeDomProvider codeProvider)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Data.Design/TypedDataSetSchemaImporterExtension.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources 2007-10-02
07:20:35 UTC (rev 86733)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources 2007-10-02
07:29:48 UTC (rev 86734)
@@ -17,6 +17,16 @@
System.ComponentModel.Design.Data/DataSourceProviderService.cs
System.ComponentModel.Design.Data/DesignerDataColumn.cs
System.ComponentModel.Design.Data/DesignerDataConnection.cs
+System.ComponentModel.Design.Data/DesignerDataParameter.cs
+System.ComponentModel.Design.Data/DesignerDataRelationship.cs
+System.ComponentModel.Design.Data/DesignerDataSchemaClass.cs
+System.ComponentModel.Design.Data/DesignerDataStoredProcedure.cs
+System.ComponentModel.Design.Data/DesignerDataTable.cs
+System.ComponentModel.Design.Data/DesignerDataTableBase.cs
+System.ComponentModel.Design.Data/DesignerDataView.cs
+System.ComponentModel.Design.Data/IDataEnvironment.cs
+System.ComponentModel.Design.Data/IDesignerDataSchema.cs
+System.ComponentModel.Design.Data/QueryBuilderMode.cs
System.ComponentModel.Design/DateTimeEditor.cs
System.ComponentModel.Design/DesignerActionHeaderItem.cs
System.ComponentModel.Design/DesignerActionItem.cs
@@ -88,12 +98,18 @@
System.ComponentModel.Design.Serialization/SerializeAbsoluteContext.cs
System.ComponentModel.Design.Serialization/StatementContext.cs
System.ComponentModel.Design.Serialization/TypeCodeDomSerializer.cs
+System.Data.Design/MethodSignatureGenerator.cs
+System.Data.Design/ParameterGenerationOption.cs
+System.Data.Design/TypedDataSetGenerator.cs
+System.Data.Design/TypedDataSetGeneratorException.cs
+System.Data.Design/TypedDataSetSchemaImporterExtension.cs
System.Design/DummyClass.cs
System.Diagnostics.Design/LogConverter.cs
System.Diagnostics.Design/ProcessDesigner.cs
System.Diagnostics.Design/ProcessModuleDesigner.cs
System.Diagnostics.Design/ProcessThreadDesigner.cs
System.Messaging.Design/MessageDesigner.cs
+System.Resources.Tools/StronglyTypedResourceBuilder.cs
System.ServiceProcess.Design/ServiceControllerDesigner.cs
System.Web.UI.Design/AppSettingsExpressionEditor.cs
System.Web.UI.Design/CalendarDataBindingHandler.cs
Added: trunk/mcs/class/System.Design/System.Resources.Tools/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Resources.Tools/ChangeLog
2007-10-02 07:20:35 UTC (rev 86733)
+++ trunk/mcs/class/System.Design/System.Resources.Tools/ChangeLog
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,3 @@
+2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * StronglyTypedResourceBuilder.cs : new stub.
Added:
trunk/mcs/class/System.Design/System.Resources.Tools/StronglyTypedResourceBuilder.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Resources.Tools/StronglyTypedResourceBuilder.cs
2007-10-02 07:20:35 UTC (rev 86733)
+++
trunk/mcs/class/System.Design/System.Resources.Tools/StronglyTypedResourceBuilder.cs
2007-10-02 07:29:48 UTC (rev 86734)
@@ -0,0 +1,92 @@
+//
+// StronglyTypedResourceBuilder.cs
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.CodeDom;
+using System.CodeDom.Compiler;
+using System.Collections;
+using System.ComponentModel.Design;
+
+namespace System.Resources.Tools
+{
+ public static class StronglyTypedResourceBuilder
+ {
+ [MonoTODO]
+ public static CodeCompileUnit Create (string resxFile,
+ string baseName,
+ string
generatedCodeNamespace,
+ CodeDomProvider
codeProvider, bool internalClass,
+ out string [] unmatchable)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static CodeCompileUnit Create (string resxFile,
+ string baseName,
+ string
generatedCodeNamespace,
+ string resourcesNamespace,
+ CodeDomProvider
codeProvider, bool internalClass,
+ out string [] unmatchable)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static CodeCompileUnit Create (IDictionary resourceList,
+ string baseName,
+ string
generatedCodeNamespace,
+ CodeDomProvider
codeProvider, bool internalClass,
+ out string [] unmatchable)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static CodeCompileUnit Create (IDictionary resourceList,
+ string baseName,
+ string
generatedCodeNamespace,
+ string resourcesNamespace,
+ CodeDomProvider
codeProvider, bool internalClass,
+ out string [] unmatchable)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string VerifyResourceName (string key,
CodeDomProvider provider)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Resources.Tools/StronglyTypedResourceBuilder.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches