所以总想有自己的创建脚本,最后找到了如下的方法。
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 © 2019- xdyj.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务