在客户端系统上使用SQl Express将mdf和ldf文件用作数据库 [英] use mdf and ldf file as database w/o using SQl Express on client system

查看:100
本文介绍了在客户端系统上使用SQl Express将mdf和ldf文件用作数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,这非常荒谬,但我没有这样做..

我看到很多解决方案,但所有解决方案都解决了它的不同,它让我困惑





i没有任何想法,如何使用.mdf和.ldf作为wpf应用程序的数据库,无需在客户端计算机上安装Sql server express管理。



我还希望在安装时间的客户端系统上保存数据库文件(.mdf和.ldf)



在我的项目中,我使用Sql server管理来创建数据库作为数据上下文

现在项目已经完成,可以为客户端提供服务。

请帮帮我

I know, this is very ridiculous but i m not done it..
I saw many Solution for that but all solution solve that as different, and its confused me


i don't have any idea, how to use .mdf and .ldf as database for wpf application w/o install Sql server express management on client computer.

and also i want to save database file(.mdf & .ldf) on client system with Installation time

in my project, i m using to Sql server management to create database as Data Context
and now project is complete for serve to client.
please help me

推荐答案

你可以安装Express 而不用高级工具。



如果您的客户端不是内部的,您应该允许客户端在他喜欢的地方和方式安装SQL Server - 他可能已经安装了它。





You can install Express without advanced tools.

If your "client" isn't internal you should allow the client to install SQL Server where and how he likes - he may already have it installed.


Quote:

在客户端系统上保存数据库文件(.mdf& .ldf)安装时间

save database file(.mdf & .ldf) on client system with Installation time





它们可以像任何其他文件一样被复制,但客户可能特别想要它们。



They can be copied like any other files, but the client may want them somewhere in particular.


我建​​议你读这个:



使用数据库发布向导部署数据库 [ ^ ]

发布数据库(SQL Server Management Studio) [ ^ ]

如何:使用Web应用程序项目部署数据库 [ ^ ]
I'd suggest to read this:

Deploying a Database by Using the Database Publishing Wizard[^]
Publish a Database (SQL Server Management Studio)[^]
How to: Deploy a Database With a Web Application Project[^]


这篇关于在客户端系统上使用SQl Express将mdf和ldf文件用作数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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