LS在服务器中保存我的数据 [英] Where LS Save My Data in the server

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

问题描述

嗨伙计 

我想知道LS保存我的数据的位置,哪个数据库服务器, 

I want to know where LS save my Data , which DB server , 

我有一个运行应用程序,它保存我的数据很好,我可以得到它,我的问题是在哪里,哪个服务器。

i have a running application and it save my data fine , and i can get it well , my question is where , which server.

在我的web.config我有 

in my web.config i have 


 <appSettings>
   <add key="SubsystemsPackage" value="RuntimeLoaders;BaseServicesLoader"/>
   <add key="UserCodeComponentsFolder" value="UserCode" />
  </appSettings>
  <connectionStrings>
    <add name="LightSwitchConnectionString"
      <strong>connectionString="Data Source=(localhost)\SQLEXPRESS;AttachDbFilename=&quot;|DataDirectory|\Data\DevelopmentDatabase.mdf&quot;;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True;Pooling=False;"
      providerName="System.Data.SqlClient"</strong> />
  </connectionStrings>

推荐答案

在调试应用程序时,所有数据都保存在< ;您的应用目录> \ Bin \Data \ ApplicationDatabase.mdf。发布应用时,您可以指定要发布到哪个/哪个数据库。

While you debug your application, all the data is saved in <Your app directory>\Bin\Data\ApplicationDatabase.mdf. When you publish your app, you could specify where/which database to publish to.

HTH,Forrest

HTH, Forrest


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

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