Table of Contents

Class DefaultAliasProvider

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Default IAliasProvider that hands out deterministic aliases (t1, t2, ...) in the order sources are registered.

public class DefaultAliasProvider : IAliasProvider
Inheritance
DefaultAliasProvider
Implements
Inherited Members
Extension Methods

Methods

FindAlias(int)

Returns the alias registered at the zero-based idx, or null when there is none.

public string? FindAlias(int idx)

Parameters

idx int

The zero-based source index.

Returns

string

GetNextAlias(FromExpression)

Allocates the next alias for from and records the source.

public string GetNextAlias(FromExpression from)

Parameters

from FromExpression

The FROM source to register.

Returns

string

GetNextAlias(QueryCommand)

Allocates the next alias for the nested queryCommand and records the source.

public string GetNextAlias(QueryCommand queryCommand)

Parameters

queryCommand QueryCommand

The nested query to register.

Returns

string