开发者

how can I copy the tables schema from database to another database using SqlserverCe in asp.net?

开发者 https://www.devze.com 2023-03-11 00:55 出处:网络
I want to copy the sqlserverCe database(.sdf) tables into another sqlserverCe databas开发者_运维知识库e(.sdf) in the same application in ASP.NET.

I want to copy the sqlserverCe database(.sdf) tables into another sqlserverCe databas开发者_运维知识库e(.sdf) in the same application in ASP.NET.

Is it possible? If possible, please help me how can I do this?


You could use my scripting library, which can script entire schema to a file, and run the script using the ExecuteSql method against the other sdf file. http://exportsqlce.codeplex.com

0

精彩评论

暂无评论...
验证码 换一张
取 消