Επεξεργασία

Κοινή χρήση μέσω


DataSourceDesigner.SchemasEquivalent Method

Definition

Provides a value that indicates whether two schemas are equal.

public:
 static bool SchemasEquivalent(System::Web::UI::Design::IDataSourceSchema ^ schema1, System::Web::UI::Design::IDataSourceSchema ^ schema2);
public static bool SchemasEquivalent (System.Web.UI.Design.IDataSourceSchema schema1, System.Web.UI.Design.IDataSourceSchema schema2);
static member SchemasEquivalent : System.Web.UI.Design.IDataSourceSchema * System.Web.UI.Design.IDataSourceSchema -> bool
Public Shared Function SchemasEquivalent (schema1 As IDataSourceSchema, schema2 As IDataSourceSchema) As Boolean

Parameters

schema1
IDataSourceSchema

The first schema to compare (derived from the IDataSourceSchema).

schema2
IDataSourceSchema

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 SchemasEquivalent method can be used without an instance of the DataSourceDesigner class.

Applies to

See also