[This is preliminary documentation and is subject to change.]
Creates a Persistent collection to contain persistent objects
| C# |
public static IndexedList<Persistent> Collection( Persistent parent, FlagSet flags, int slot, bool getData )
- parent (Persistent)
- The parent object of the collection.
- slot (Int32)
- The slot of its parent member containing the collection.
- getData (Boolean)
- If true, objects belonging in the collection are fetched from persistent storage.
An IndexedList<(Of <(<'T>)>)> containing the new
collection.
Although this method will work, it is here mainly to allow the
consistent use of the new keyword in derived generated classes. The
derived classes have more appropriately typed versions of this method.
Also, in general these methods are intended for use in generated code and
you never normally need to use them.