//Tres important !!! //TODO: http://ayende.com/blog/66563/ravendb-migrations-rolling-updates protected virtual KeyValuePair <string, Guid> WriteJsonContentTranslationVersionProperty(JsonWriter writer, object value, JsonSerializer serializer, Content content, Content.ContentTranslationVersion contentTranslationVersion, ContentTranslationVersionProperty contentTranslationVersionProperty) { writer.WritePropertyName(contentTranslationVersionProperty.ContentTypeProperty.Name); if (contentTranslationVersionProperty.SerializedValue == null) { writer.WriteNull(); } else { var json = contentTranslationVersionProperty.SerializedValue; writer.WriteRawValue(json); } return(new KeyValuePair <string, Guid>(contentTranslationVersionProperty.ContentTypeProperty.Name, contentTranslationVersionProperty.ContentTypeProperty.Id)); }
public bool TryGetProperty(string name, out ContentTranslationVersionProperty prop) { return(_propertiesDictionary.TryGetValue(name, out prop)); }