System.Web.UI.Design.DataSourceDesigner.SchemasEquivalent Method

Provides a value that indicates whether two schemas are equal.

Syntax

public static bool SchemasEquivalent (IDataSourceSchema schema1, IDataSourceSchema schema2)

Parameters

schema1
The first schema to compare (derived from the System.Web.UI.Design.IDataSourceSchema).
schema2
The second schema to compare.

Returns

true if both schemas are equivalent; otherwise, false.

Remarks

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 DataSourceDesigner.SchemasEquivalent(IDataSourceSchema, IDataSourceSchema) method can be used without an instance of the System.Web.UI.Design.DataSourceDesigner class.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0