Table of Contents

Interface IQueryFingerprintFactory

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

Turns a database command's text into a stable QueryFingerprint.

public interface IQueryFingerprintFactory

Remarks

This is the seam that decides when two commands count as "the same query", which is the judgement the whole repeated-query feature rests on. It is an interface so that a provider whose SQL the generic implementation groups badly can be given a dedicated strategy without touching the detector. See docs/decisions/0005-sql-fingerprints.md.

Methods

Create(string?, QueryCommandKind)

Creates a fingerprint for a command.