-
Notifications
You must be signed in to change notification settings - Fork 22
Primitives
Leonardo Porro edited this page Nov 28, 2022
·
15 revisions
Primitives are plain types, with no members or items, usually mapped to a single field of a database, for example int, string
.
When a type is marked as primitive, mapper won't try to instantiate or recursively iterate members or items, it will copy the value as-is.
Any type can be marked as primitive, for example, in the mapping context, string
is a primitive, even when it is an array of chars.
See also:
Next: