Table of Contents

Interface IUuidGenerators

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A dialect's UUID generator surface (gen_random_uuid, uuidv7). The predicate and the renderer live on one object, so a generator the dialect reports as supported always has a rendering; a provider with only one of the two (SQL Server, MariaDB) answers Supports(string) per name.

public interface IUuidGenerators
Extension Methods

Remarks

Unlike the stateless IIifRenderer/ILimitByRenderer, this object carries both the per-name predicate and the renderer, hence the plural capability-noun name rather than the *Renderer suffix.

Methods

Render(string)

Renders the UUID generator name.

string Render(string name)

Parameters

name string

Returns

string

Supports(string)

True when the UUID generator name can be rendered.

bool Supports(string name)

Parameters

name string

Returns

bool