ClientSideAttribute [Mapping]

Estrusco edited this page Nov 16, 2016 · 2 revisions
Clone this wiki locally

(from the official guide)

[namespace: Serenity.Data.Mapping] - [assembly: Serenity.Data]

OBSOLETE: Use NotMapped instead.

Corresponds to an unmapped field in Serenity entities. They don't have a corresponding field in database table.

These kinds of fields can be used for temporary calculation, storage and transfer on client and service layers.

public sealed class CustomerRow : Row, IIdRow, INameRow
   [NotesEditor, ClientSide]
   public List<NoteRow> NoteList
      get { return Fields.NoteList[this]; }
      set { Fields.NoteList[this] = value; }

See also: