Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Web 应用程序中使用 SQL Compact 4 时,最好的文件模式是什么?独占、读写还是共享读取?
谢谢
这取决于你想做什么。如果您需要做的只是读取数据库,那么共享读取将是合适的。如果您还需要写入它,请使用读写。我会避免独占模式,因为您不知道 IIS 将启动多少个工作线程来服务多个访问者。