public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                EventRealm eventRealm = (EventRealm)instance;

                value = (object)eventRealm.Id;
                return(true);
            }
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                EventRealm eventRealm = (EventRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || eventRealm.\u003CSeenByUser\u003Ek__BackingField)
                {
                    // ISSUE: explicit non-virtual call
                    // ISSUE: reference to a compiler-generated field
                    __nonvirtual(eventRealm.SeenByUser) = eventRealm.\u003CSeenByUser\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || eventRealm.\u003CEventId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    eventRealm.EventId = eventRealm.\u003CEventId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                eventRealm.Date = eventRealm.\u003CDate\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || eventRealm.\u003CTitle\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    eventRealm.Title = eventRealm.\u003CTitle\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || eventRealm.\u003CContent\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    eventRealm.Content = eventRealm.\u003CContent\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || eventRealm.\u003CProfileId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    eventRealm.ProfileId = eventRealm.\u003CProfileId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                eventRealm.CreatedDate = eventRealm.\u003CCreatedDate\u003Ek__BackingField;
            }