AliasedFields.As<TFields> method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Aliases the fields with the specified alias.

public static TFields As<TFields>(this TFields fields, string alias)
    where TFields : RowFieldsBase
parameter description
TFields The type of the fields.
fields The fields.
alias The alias.

Return Value

An instance of RowFieldsBase with T0 replaced with specified alias


exception condition
ArgumentNullException alias

See Also