简体   繁体   中英

Howto copy database schema to enother database using SQL Server Compact in C#?

I want to copy programatically the SQL Server Compact database(.sdf file) into another database(.sdf file) using C#.

Just schema without data (i mean creating empty database with same schema)

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

Thx.

随手准备一个空的(模板)数据库文件,并在需要时将其复制。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM