ClearDatabaseSchemaIfModelChanges<TContext> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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
Azure SDK for .NET