Gets the database creation script that creates Membership

  • 2020-05-07 19:30:02
  • OfStack

So always want to have their own script creation, finally found the following method.

  aspnet_regsql.exe -E -S localhost -d Northwind -A all -sqlexportonly c:\membership.sql

For the operation of asp.net_regsql.exe, please refer to the following link:

http://msdn.microsoft.com/zh-cn/library/ms229862(VS.80).aspx  

The reference is as follows:

http://blog.krisvandermast.com/CreateMembershipTablesInAnotherDatabaseThanTheStandardAspnetdbmdf.aspx


Related articles: