是DLL或app.config来撤消正在使用来自数据库的数据的数据 [英] is DLL or app.config to retireve the data which one is using data from databas

查看:63
本文介绍了是DLL或app.config来撤消正在使用来自数据库的数据的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我更好的dll或app.config

please tell me dll better or app.config better

推荐答案

这取决于您需要的数据.单值设置(例如数据库连接字符串)最好存储在app.config中.有关更多信息(例如客户订单或客户信息),请使用通过数据层(单独的程序集或ORM或两者)访问的数据库.
It depends on what data you need. Single value settings, like database connection strings, are best stored in the app.config. For more information, such customer orders or customer information, then use a database that is accessed via a data layer, either a separate assembly or an ORM, or both.


这篇关于是DLL或app.config来撤消正在使用来自数据库的数据的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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