Прочитај на енглеском Уреди

Делите путем


ObjectContext.DeleteDatabase Method

Definition

Deletes the database that is specified as the database in the current data source connection.

C#
public void DeleteDatabase();

Remarks

Most of the work is delegated to the DeleteDatabase method.

For more information, see Working with Data Definition Language.

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also