获取创建Membership的数据库创建脚本


所以总想有自己的创建脚本,最后找到了如下的方法。

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

对于asp.net_regsql.exe的操作可以参考如下链接:

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

参考原文如下:

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


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3