RelationalDatabaseFacadeExtensions.GenerateCreateScript 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.
Generates a script to create all tables for the current model.
public static string GenerateCreateScript (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
static member GenerateCreateScript : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> string
<Extension()>
Public Function GenerateCreateScript (databaseFacade As DatabaseFacade) As String
Parameters
- databaseFacade
- DatabaseFacade
Returns
A SQL script.
Remarks
See Database migrations for more information and examples.
Applies to
Feedback
Submit and view feedback for