From f8ec6065c25770edcee176acc21ae0ec7494d127 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 9 Apr 2026 16:36:30 +0200 Subject: [PATCH] Add IncludeDocResult option to EnvelopeQueryBase Introduced the IncludeDocResult boolean property to EnvelopeQueryBase, allowing queries to optionally include the DocResult field. By default, DocResult is excluded to prevent unnecessary loading of large binary data. --- .../Common/Query/EnvelopeQueryBase.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/EnvelopeGenerator.Application/Common/Query/EnvelopeQueryBase.cs b/EnvelopeGenerator.Application/Common/Query/EnvelopeQueryBase.cs index 9f2cba8c..78047227 100644 --- a/EnvelopeGenerator.Application/Common/Query/EnvelopeQueryBase.cs +++ b/EnvelopeGenerator.Application/Common/Query/EnvelopeQueryBase.cs @@ -14,4 +14,10 @@ public record EnvelopeQueryBase /// Die universell eindeutige Kennung des Umschlags. /// public virtual string? Uuid { get; set; } + + /// + /// Wenn gesetzt, wird das DocResult-Feld in der Abfrage einbezogen. + /// Standardmäßig wird DocResult nicht geladen, um große Binärdaten zu vermeiden. + /// + public bool IncludeDocResult { get; set; } = false; } \ No newline at end of file