Can someone help me with a complete sample how to store a file using MongoDB, C# and Norm and manage the limitation size. I have read some ideas about but is not really clear for me. Thanks.
问问题
1131 次
1 回答
1
如果您正在存储文件,您应该考虑使用 GridFS 来为您处理大小问题。您可以在此处阅读有关一般规格的信息:
http://www.mongodb.org/display/DOCS/GridFS+Specification
特别是对于 NoRM,您可以查看属于 NoRM 一部分的测试 - 这是特别的:
https://github.com/atheken/NoRM/blob/master/NoRM.Tests/GridFS/GridFileCollectionTests.cs
于 2011-01-14T20:31:54.380 回答