Database.CreateIfNotExists Method
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.
Creates a new database on the database server for the model defined in the backing context, but only if a database with the same name does not already exist on the server.
public bool CreateIfNotExists ();
member this.CreateIfNotExists : unit -> bool
Public Function CreateIfNotExists () As Boolean
Returns
True if the database did not exist and was created; false otherwise.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework