Realm Xamarin
v0.81.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
. To see what is supported, refer to the LINQ Support page.
Realm Overview Diagram
The documentation can be found at realm.io/docs/dotnet/latest.
The API reference is located at realm.io/docs/dotnet/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.