Saving FlowDocument to SQL Server
问题 I need to save WPF FlowDocuments to SQL Server. What is the best format for doing that? String? Blob? Does it matter in a document less than 5K words or so? 回答1: If you just want to store the FlowDocument objects in a database, without any processing, I would recommend using binary serialization, and storing the resulting byte array into a varbinary(max). This is fast and scales well. However, if you already have the FlowDocuments as XML files, than it would be easier just to dump them into a