Exemplo n.º 1
0
 /// <summary>
 ///     <para>
 ///         Ensures that the database for the context does not exist. If it does not exist, no action is taken. If it does
 ///         exist then the database is deleted.
 ///     </para>
 ///     <para>
 ///         Warning: The entire database is deleted an no effort is made to remove just the database objects that are used by
 ///         the model for this context.
 ///     </para>
 /// </summary>
 /// <returns> True if the database is deleted, false if it did not exist. </returns>
 public virtual bool EnsureDeleted() => DatabaseCreator.EnsureDeleted();