提交 f1979f7a 编写于 作者: C CyrusNajmabadi

Add comments.

上级 f125368c
......@@ -202,6 +202,9 @@ string GetDocumentIdString(Document document)
void AddIfUnknownId(string value, HashSet<string> stringsToAdd)
{
// Null strings are not supported at all. Just ignore these. Any read/writes
// to null values will fail and will return 'false/null' to indicate failure
// (which is part of the documented contract of the persistence layer API).
if (value == null)
{
return;
......
......@@ -34,6 +34,9 @@ private void FetchStringTable(SqlConnection connection)
private int? TryGetStringId(SqlConnection connection, string value)
{
// Null strings are not supported at all. Just ignore these. Any read/writes
// to null values will fail and will return 'false/null' to indicate failure
// (which is part of the documented contract of the persistence layer API).
if (value == null)
{
return null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册