DataSourceDesigner.SchemasEquivalent Method (IDataSourceSchema, IDataSourceSchema)
.NET Framework (current version)
Provides a value that indicates whether two schemas are equal.
Assembly: System.Design (in System.Design.dll)
Public Shared Function SchemasEquivalent ( schema1 As IDataSourceSchema, schema2 As IDataSourceSchema ) As Boolean
Parameters
- schema1
-
Type:
System.Web.UI.Design.IDataSourceSchema
The first schema to compare (derived from the IDataSourceSchema).
- schema2
-
Type:
System.Web.UI.Design.IDataSourceSchema
The second schema to compare.
Comparison of the two schemas is based on the views, as well as the names and types of the fields that are contained in the views. The SchemasEquivalent method can be used without an instance of the DataSourceDesigner class.
.NET Framework
Available since 2.0
Available since 2.0
Show: