Realm Xamarin
v0.75.0
Realm for Xamarin
|
The C# API of Realm is incredibly simple because it leverages the power of LINQ for querying and the Fody weaver to transform plain C# class declarations into persistent objects.
The main classes you will use are:
Helper classes you may use are:
Querying and Sorting are provided on a Realm using standard LINQ syntax including Where
and OrderBy
.
The documentation can be found at realm.io/docs/xamarin/latest.
The API reference is located at realm.io/docs/xamarin/latest/api.
Source is available on github.
Instructions on how to build from source are included in that repository's README.md
.
This trivial sample shows the use of most of the classes mentioned above:
Note that in most debugging situations the default Realm will be retained so if you run this sample fragment multiple times you should see the number created increase. This is on purpose so you are assured the database is being persisted between runs.
The github issue tracker can be used to report problems or make feature requests.