Enum PropertyType
An enum, containing the possible property types.
Namespace: Realms.Schema
Assembly: Realm.dll
Syntax
[Flags]
public enum PropertyType : ushort
Fields
Name | Description |
---|---|
Int | Integer property, combining all integral types. |
Bool | Boolean property. |
String | String property. |
Data | Binary data (byte[]) property. |
Date | DateTimeOffset property. |
Float | 32 bit floating point property. |
Double | 64 bit floating point property. |
Object | Related object property, representing a one-to-one or many-to-one relationship. |
LinkingObjects | A collection of objects linking to the model owning this property. |
RealmValue | A property that can contain RealmValue supported types. |
ObjectId | 96 bit ObjectID property. |
Decimal | 128 bit decimal property. |
Guid | 128 bit UUID property. |
Nullable | A nullable (optional) property. Can be combined with other values. |
Array | A collection. Can be combined with other values. |
Set | A collection of unique values. Can be combined with other values. |
Dictionary | A collection of key-value pairs where the key is string. Can be combined with other values. |
Flags | Metadata flags. |
NullableInt | A shorthand for PropertyType.Int | PropertyType.Nullable. |
NullableBool | A shorthand for PropertyType.Bool | PropertyType.Nullable. |
NullableString | A shorthand for PropertyType.String | PropertyType.Nullable. |
NullableData | A shorthand for PropertyType.Data | PropertyType.Nullable. |
NullableFloat | A shorthand for PropertyType.Float | PropertyType.Nullable. |
NullableDouble | A shorthand for PropertyType.Double | PropertyType.Nullable. |
NullableDate | A shorthand for PropertyType.Date | PropertyType.Nullable. |
NullableObjectId | A shorthand for PropertyType.ObjectId | PropertyType.Nullable. |
NullableDecimal | A shorthand for PropertyType.Decimal | PropertyType.Nullable. |
NullableGuid | A shorthand for PropertyType.Guid | PropertyType.Nullable. |