AliasedFields.As<TFields> method
namespace: Serenity.Data assembly: Serenity.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
Exceptions
exception | condition |
---|---|
ArgumentNullException | alias |
See Also
- class TFields
- class RowFieldsBase
- class AliasedFields