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.
我正在尝试建立一个非常简单的数据库,我应该有一个由图像和与之关联的单词组成的实体。我将 SQLite 与 C# 一起使用,因为这将是一个最终会部署的应用程序,所以我想知道是否有将图像保存在数据库中的最佳方法。
我看到了很多使用字节流的技术,所以我的问题是:
最好将字节流保存在实体字段中,还是只保存应存储图像的应用程序的路径?..为什么选择的方法应该更好?..
感谢
It is better to save path in database and image(or other files) on hdd
Storing Images in DB - Yea or Nay?