WCF服务中的数据库转储 [英] Database dumping in WCF Service

查看:74
本文介绍了WCF服务中的数据库转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......

我是WCF的新手.我必须创建WCF服务以将数据库转储和存储在其他一些位置,然后再次还原它.请任何人帮助我如何提供转储数据库的路径以及如何做到这一点...

谢谢大家...

Hi....

I am new to WCF. I have to create WCF service to dump and store the database in some other locations and restore it again. Please anyone help me how to give the path to dumping database and how to do that...

thank you for all...

推荐答案

WCF默认不是数据库服务/协议/管理系统.如果要备份和还原数据库,则需要编写代码来做到这一点.例如,您可以在WDB服务中调用维护计划在数据库中编写维护计划,并通过存储过程执行维护计划.

干杯.
WCF isn''t a database service/protocol/management system by default. If you want to backup and restore databases you''ll need to write code to do that. For instance, you can write maintenance plans in the DB and execute them via stored procedures, as calls from your WCF service.

Cheers.


这篇关于WCF服务中的数据库转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆