realm / realm-dotnet
- четверг, 12 мая 2016 г. в 03:12:31
C#
Realm is a mobile database: a replacement for SQLite & ORMs
Realm is a mobile database that runs directly inside phones, tablets or wearables.
This repository holds the source code for the .NET / C# versions of Realm. Currently, we only support Xamarin, specifically Xamarin.iOS, and Xamarin.Android. We do plan to support Xamarin.Mac, UWP, and Unity in the future.
Please see the detailed instructions in our User Guide to add Realm to your solution.
The documentation can be found at realm.io/docs/xamarin/latest.
The API reference is located at realm.io/docs/xamarin/latest/api.
We highly recommend using our pre-build binaries via NuGet but you can also build from source.
Prerequisites:
We support the current Xamarin Stable update channel, at the time of release this corresponded to:
Note for Debugging that the following steps mention building for Release. If you are debugging, just substitute Debug and you probably also want to choose Debug | iPhoneSimulator as a platform.
wrappers directorymake cleanmake all - this will probably download a current version of core binaries, unless you have built recently. The download and subsequent builds will take some time, depending on your system, as it builds a binary wrapper library for each platform including all Android CPU variations.Realm.sln in Xamarin Studio on OS X
Realm in the Solution navigator and context menu to Clean RealmRealm.PCL project and BuildRealmWeaver.Fody project and BuildRealm.XamarinAndroid project and BuildRealm.XamarinIOS project and Buildinternals/RealmDotnetNugetBuild.mdIf you are actively testing code against the Realm source, see also the unit test projects and other tests under the Tests folder.
See CONTRIBUTING.md for more details!
Realm is published under the Apache 2.0 license.
The underlying core is available under the Realm Core Binary License while we work to open-source it under the Apache 2.0 license.
This product is not being made available to any person located in Cuba, Iran, North Korea, Sudan, Syria or the Crimea region, or to any other person that is not eligible to receive the product under U.S. law.
If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning @realm, or email help@realm.io to let us know about it!
And if you don't like it, please let us know what you would like improved, so we can fix it!