-
Notifications
You must be signed in to change notification settings - Fork 806
Entity Framework CalculatedAttribute [Mapping]
Victor Tomaili edited this page May 3, 2021
·
1 revision
public class CustomerRow : Row
{
public string Firstname
{
get { return Fields.Firstname[this]; }
set { Fields.Firstname[this] = value; }
}
public string Lastname
{
get { return Fields.Lastname[this]; }
set { Fields.Lastname[this] = value; }
}
[Expression("(T0.[Firstname] + ' ' + T0.[Lastname])")]
public string Fullname
{
get { return Fields.Fullname[this]; }
set { Fields.Fullname[this] = value; }
}
}
Copyright © Serenity Platform 2017-present. All rights reserved.
Documentation | Serene Template | Live Demo | Premium Support | Issues | Discussions