PersistedState (attribute)

From MXMS Wiki
Revision as of 16:14, 16 March 2026 by Bjorn (talk | contribs)
Jump to navigationJump to search

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;

}