Skip to content

AliasExtensions class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Contains extension methods for Alias objects.

public static class AliasExtensions

Public Members

name description
static WithNoLock(…) Adds a WITH(NOLOCK) to the alias and returns a new alias. The alias name itself stays clean, so column references are unaffected; only FROM / JOIN rendering includes the hint.
static WithTableHint(…) Adds a WITH(...) table hint to the alias and returns a new alias. The alias name itself stays clean, so column references are unaffected; only FROM / JOIN rendering includes the hint.

See Also