Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-83

Create ObjectSchema programmatically

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • Q3-22FY
    • Affects Version/s: None
    • Component/s: None

      Goal

      I'm creating an app which the user defines database schema. With Core Data, I can create NSManagedModel programmatically. But Xamarin Realm do not have a similar solution. All ObjectSchema are created from RealmObject subclasses. And the initalize method of ObjectSchema is private method.

      I found out Realm in Java can create Schema programmatically. Is there any plan these methods will port to Realm for Xamarin in future?

      Expected Results

      > Create ObjectSchema programmatically.

      Actual Results

      > E.g. full stack trace with exception

      Steps & Code to Reproduce

      > Describe your current debugging efforts.

      Code Sample

      Unable to find source-code formatter for language: csharp. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      > Your code here. Bigger samples should ideally be as separate Xamarin/Visual Studio project, 
      > in gists/repositories or privately at help@realm.io)
      
      

      Version of Realm and tooling

      Realm version(s): ?

      Xamarin/Visual Studio version: ?

      Which operating system version and device: ?

            Assignee:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: