Can we create non persisted property inside persisted class. Simply do not save the property(column) with %Save()
Asked
Active
Viewed 91 times
2

Vivek Ranjan
- 1,432
- 2
- 15
- 37
1 Answers
1
You are looking for transient property parameter:
Property Name As %String [ Transient ];
From docs:
Specifies whether the property is stored in the database. Applies only to persistent classes.

ZitRo
- 1,163
- 15
- 24
-
Can you add the ref doc – Vivek Ranjan Jan 24 '18 at 11:55
-
Pasted another link, sorry ^^ Now it's fixed. – ZitRo Jan 24 '18 at 11:57
-
@VivekRanjan also check this link http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_proplit#GOBJ_proplit_computed – rfg Jan 24 '18 at 16:32