ORM


Creating Settings Objects

Summary If your application requires its own set of settings, you can create new settings via code. After creating these settings, the values of these settings can be fetched and set via code (see Accessing...

Creating Custom Folder Entities

Custom Folder Entities are special objects that can 'reside' in a Decisions folder. If you are just looking to easily store data in a table a simple ORM object (described i) may be all you need. However,...

Using Simple ORM Objects

Typesafe vs. non typesafe ORM accessors   There are 2 classes that represent access to the ORM storage - ORM<T> - DynamicORM   The difference between these classes is the generic one adds...

ORM Basics: Adding Indexes

Adding index to field Like marking up fields to be stored by the ORM, indexes can also be declared on fields. An index name and a flag to say if index is unique can be added to this. Below is an example...

ORM Basics: Adjusting SQL Data Types

Using overrides to the [crayon-5defe0e2f2bdb431283537-i/] attribute, you can set what database type is used to store a field. For more on writing ORM types see ORM Basics   Here is an example showing...

ORM Basics

ORM BASE CLASSES There are three ORM base classes that you can inherit from to create an ORM object. They are as follows. [crayon-5defe0e2f1b5b651100050-i/] - adds logical delete functionality to...