Condividi tramite


DataSourceDesigner.SchemasEquivalent Metodo

Definizione

Fornisce un valore che indica se due schemi sono uguali.

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

Parametri

schema1
IDataSourceSchema

Primo schema da confrontare, derivato da IDataSourceSchema.

schema2
IDataSourceSchema

Secondo schema da confrontare.

Restituisce

Boolean

true se i due schemi sono equivalenti. In caso contrario, false.

Commenti

Il confronto dei due schemi è basato sulle visualizzazioni, nonché sui nomi e sui tipi dei campi contenuti nelle viste. Il SchemasEquivalent metodo può essere usato senza un'istanza della DataSourceDesigner classe.

Si applica a

Vedi anche