---
title: LegalNoteSearchCriteria
summary: API reference for LegalNoteSearchCriteria.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# LegalNoteSearchCriteria

`LegalNoteSearchCriteria` is a filter/search-criteria DTO in the Legal / Notes area, carrying the parameters a query or search operation is narrowed by*.

## Purpose
- Carries filter parameters for a search or list operation in the Legal / Notes area*.

## Context
- Namespace: `SAIF.Core.Contracts.Legal.Notes`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `LegalNoteSearchCriteria` | `LegalNoteSearchCriteria()` | Initializes a new instance of this type*. |
| `CaseId` | `long CaseId { get; set; }` | Uniquely identifies the case value recorded on this LegalNoteSearchCriteria*. |
| `FromDate` | `DateTime? FromDate { get; set; }` | Records the date of the from*. |
| `ThruDate` | `DateTime? ThruDate { get; set; }` | Records the date of the thru*. |
| `CategoryCodes` | `string[] CategoryCodes { get; set; }` | Represents the category codes associated with this LegalNoteSearchCriteria*. |
| `MaxRows` | `int MaxRows { get; set; }` | Represents the max rows associated with this LegalNoteSearchCriteria*. |
| `Sort` | `string Sort { set; }` | Represents the sort associated with this LegalNoteSearchCriteria*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Legal/Notes/LegalNoteSearchCriteria.cs
