共用方式為


ClearDatabaseSchemaIfModelChanges<TContext> Constructors

Definition

Overloads

ClearDatabaseSchemaIfModelChanges<TContext>()

Initializes a new instance of the ClearDatabaseSchemaAlways<TContext> that will DELETE all resources from the default schema derived from the service name in case the model has changed.

ClearDatabaseSchemaIfModelChanges<TContext>(String)

Initializes a new instance of the ClearDatabaseSchemaIfModelChanges<TContext> class with a given schema.

ClearDatabaseSchemaIfModelChanges<TContext>()

Initializes a new instance of the ClearDatabaseSchemaAlways<TContext> that will DELETE all resources from the default schema derived from the service name in case the model has changed.

public ClearDatabaseSchemaIfModelChanges ();
Public Sub New ()

Applies to

ClearDatabaseSchemaIfModelChanges<TContext>(String)

Initializes a new instance of the ClearDatabaseSchemaIfModelChanges<TContext> class with a given schema.

public ClearDatabaseSchemaIfModelChanges (string schema);
new Microsoft.WindowsAzure.Mobile.Service.ClearDatabaseSchemaIfModelChanges<'Context (requires 'Context :> System.Data.Entity.DbContext)> : string -> Microsoft.WindowsAzure.Mobile.Service.ClearDatabaseSchemaIfModelChanges<'Context (requires 'Context :> System.Data.Entity.DbContext)>
Public Sub New (schema As String)

Parameters

schema
String

The schema to DELETE all resources from in case the model has changed.

Applies to