没有什么好说的,只是总结了一些最佳实践:
 1、用 windows 安全机制进行数据库连接的优点:安全性高;缺点:性能低。
    用 DataBase 安全机制进行数据库连接的优点:性能高;安全性低。
 2、推荐用存储过程进行数据访问,而不是要用”embedded SQL“访问数据库。
  优点: improved performance
   individually secured
   easier maintenance
   an extra level of abstraction
   reduce network trafic
 3、用 DataSet 访问数据的最佳实践:
  Require a disconnected memory-resident cache.
  in-memory relational view.
  from multiple data soruce.
  update or submit.
  webControl data binding require IList
    用 DataRead 访问数据的最佳实践:
  Binary large object (BLOB)数据
  large volumes
  webControl data binding require IEnumerable
  reduce the memory footprint

  Data Access Block 的优点:
 通过对 DBCommand 的缓存实现性能优化。

相关文章:

  • 2021-08-13
  • 2021-09-22
  • 2021-11-15
  • 2021-09-21
  • 2021-10-28
  • 2021-10-27
猜你喜欢
  • 2021-09-29
  • 2021-11-13
  • 2021-10-01
  • 2021-07-11
  • 2021-10-05
相关资源
相似解决方案