Struct Property
Describes a single property of a class stored in a Realm.
Namespace: Realms.Schema
Assembly: Realm.dll
Syntax
public struct Property
Properties
| Improve this Doc View SourceIsIndexed
Gets or sets a value indicating whether this Property is indexed.
Declaration
public bool IsIndexed { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsNullable
Gets or sets a value indicating whether this Property can be null
.
Declaration
public bool IsNullable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsPrimaryKey
Gets or sets a value indicating whether this Property is primary key.
Declaration
public bool IsPrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
LinkOriginPropertyName
Gets or sets the name of the property that links to the model containing this LinkingObjects property.
Declaration
public string LinkOriginPropertyName { get; set; }
Property Value
Type | Description |
---|---|
String | The name of the linking property. |
Name
Gets or sets the name of the property.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String | The name of the property. |
ObjectType
Gets or sets the type of the object.
Declaration
public string ObjectType { get; set; }
Property Value
Type | Description |
---|---|
String | The type of the object. |
Type
Gets or sets the type of the property.
Declaration
public PropertyType Type { get; set; }
Property Value
Type | Description |
---|---|
PropertyType | The type of the property. |