当前位置:主页 > 软件编程 > .NET代码 >

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

时间:2021-08-31 09:59:46 | 栏目:.NET代码 | 点击:

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

 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

您可能感兴趣的文章:

相关文章