Пример #1
0
 public virtual DynamicJsonValue ToJson()
 {
     return(new DynamicJsonValue(GetType())
     {
         [nameof(Documents)] = Documents.ToJson(),
         [nameof(RevisionDocuments)] = RevisionDocuments.ToJson(),
         [nameof(Tombstones)] = Tombstones.ToJson(),
         [nameof(Identities)] = Identities.ToJson(),
         [nameof(Indexes)] = Indexes.ToJson(),
     });
 }
Пример #2
0
 public virtual DynamicJsonValue ToJson()
 {
     return(new DynamicJsonValue(GetType())
     {
         [nameof(DatabaseRecord)] = DatabaseRecord.ToJson(),
         [nameof(Documents)] = Documents.ToJson(),
         [nameof(RevisionDocuments)] = RevisionDocuments.ToJson(),
         [nameof(Tombstones)] = Tombstones.ToJson(),
         [nameof(Conflicts)] = Conflicts.ToJson(),
         [nameof(Identities)] = Identities.ToJson(),
         [nameof(Indexes)] = Indexes.ToJson(),
         [nameof(CompareExchange)] = CompareExchange.ToJson(),
     });
 }
Пример #3
0
 public virtual DynamicJsonValue ToJson()
 {
     return(new DynamicJsonValue(GetType())
     {
         [nameof(DatabaseRecord)] = DatabaseRecord.ToJson(),
         [nameof(Documents)] = Documents.ToJson(),
         [nameof(RevisionDocuments)] = RevisionDocuments.ToJson(),
         [nameof(Tombstones)] = Tombstones.ToJson(),
         [nameof(Conflicts)] = Conflicts.ToJson(),
         [nameof(Identities)] = Identities.ToJson(),
         [nameof(Indexes)] = Indexes.ToJson(),
         [nameof(CompareExchange)] = CompareExchange.ToJson(),
         [nameof(Subscriptions)] = Subscriptions.ToJson(),
         [nameof(Counters)] = Counters.ToJson(),
         [nameof(CompareExchangeTombstones)] = CompareExchangeTombstones.ToJson(),
         [nameof(TimeSeries)] = TimeSeries.ToJson(),
         [nameof(ReplicationHubCertificates)] = ReplicationHubCertificates.ToJson(),
     });
 }