PersistedState (attribute): Difference between revisions
From MXMS Wiki
Jump to navigationJump to search
m Bjorn moved page PersistedStateAttribute to PersistedState Attribute |
m Bjorn moved page PersistedState Attribute to PersistedStateAttribute over redirect |
||
(No difference)
| |||
Revision as of 16:17, 16 March 2026
Introduction
PersistedState is an Attribute which main purpose is to make a property persistent in the database. When applied to a property a column is created which holds the state of the property
Example
[PersistedState]
public virtual string Name
{
get;
set;
}