Beispiel #1
0
            public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                RatingRealm ratingRealm = (RatingRealm)instance;

                value = (object)ratingRealm.Id;
                return(true);
            }
Beispiel #2
0
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                RatingRealm ratingRealm = (RatingRealm)instance;

                // ISSUE: reference to a compiler-generated field
                ratingRealm.LastSeenDate = ratingRealm.\u003CLastSeenDate\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || ratingRealm.\u003CSeenCount\u003Ek__BackingField != 0)
                {
                    // ISSUE: reference to a compiler-generated field
                    ratingRealm.SeenCount = ratingRealm.\u003CSeenCount\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                ratingRealm.Date = ratingRealm.\u003CDate\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || ratingRealm.\u003CLiked\u003Ek__BackingField)
                {
                    // ISSUE: reference to a compiler-generated field
                    ratingRealm.Liked = ratingRealm.\u003CLiked\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || ratingRealm.\u003CEmail\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    ratingRealm.Email = ratingRealm.\u003CEmail\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || ratingRealm.\u003CDescription\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    ratingRealm.Description = ratingRealm.\u003CDescription\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || ratingRealm.\u003CSensitiveData\u003Ek__BackingField)
                {
                    // ISSUE: reference to a compiler-generated field
                    ratingRealm.SensitiveData = ratingRealm.\u003CSensitiveData\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && ratingRealm.\u003CProfileId\u003Ek__BackingField == null)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                ratingRealm.ProfileId = ratingRealm.\u003CProfileId\u003Ek__BackingField;
            }