public bool TryGetPrimaryKeyValue(RealmObject instance, out object value) { SubjectAverageRealm subjectAverageRealm = (SubjectAverageRealm)instance; value = (object)subjectAverageRealm.Subject; return(true); }
public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults) { SubjectAverageRealm subjectAverageRealm = (SubjectAverageRealm)instance; // ISSUE: reference to a compiler-generated field if (!skipDefaults || subjectAverageRealm.\u003CSubjectCategory\u003Ek__BackingField != null) { // ISSUE: reference to a compiler-generated field subjectAverageRealm.SubjectCategory = subjectAverageRealm.\u003CSubjectCategory\u003Ek__BackingField; } // ISSUE: reference to a compiler-generated field if (!skipDefaults || subjectAverageRealm.\u003CSubjectCategoryName\u003Ek__BackingField != null) { // ISSUE: reference to a compiler-generated field subjectAverageRealm.SubjectCategoryName = subjectAverageRealm.\u003CSubjectCategoryName\u003Ek__BackingField; } // ISSUE: reference to a compiler-generated field subjectAverageRealm.Value = subjectAverageRealm.\u003CValue\u003Ek__BackingField; // ISSUE: reference to a compiler-generated field subjectAverageRealm.ClassValue = subjectAverageRealm.\u003CClassValue\u003Ek__BackingField; // ISSUE: reference to a compiler-generated field subjectAverageRealm.Difference = subjectAverageRealm.\u003CDifference\u003Ek__BackingField; // ISSUE: reference to a compiler-generated field if (!skipDefaults || subjectAverageRealm.\u003CProfileId\u003Ek__BackingField != null) { // ISSUE: reference to a compiler-generated field subjectAverageRealm.ProfileId = subjectAverageRealm.\u003CProfileId\u003Ek__BackingField; } // ISSUE: reference to a compiler-generated field if (!skipDefaults || subjectAverageRealm.\u003CSubjectUid\u003Ek__BackingField != null) { // ISSUE: reference to a compiler-generated field subjectAverageRealm.SubjectUid = subjectAverageRealm.\u003CSubjectUid\u003Ek__BackingField; } // ISSUE: reference to a compiler-generated field if (skipDefaults && subjectAverageRealm.\u003CSortIndex\u003Ek__BackingField == 0) { return; } // ISSUE: reference to a compiler-generated field subjectAverageRealm.SortIndex = subjectAverageRealm.\u003CSortIndex\u003Ek__BackingField; }