Table of Contents

Interface IAliasProvider

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Allocates and resolves the table aliases (t1, t2, ...) of the sources in a query.

public interface IAliasProvider
Extension Methods

Methods

FindAlias(int)

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

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.

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.

string GetNextAlias(QueryCommand queryCommand)

Parameters

queryCommand QueryCommand

The nested query to register.

Returns

string