示例#1
0
            public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                AbsenceRealm absenceRealm = (AbsenceRealm)instance;

                value = (object)absenceRealm.Id;
                return(true);
            }
示例#2
0
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                AbsenceRealm absenceRealm = (AbsenceRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CType\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.Type = absenceRealm.\u003CType\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CTypeName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.TypeName = absenceRealm.\u003CTypeName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CSubject\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.Subject = absenceRealm.\u003CSubject\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CSubjectCategory\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.SubjectCategory = absenceRealm.\u003CSubjectCategory\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CSubjectCategoryName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.SubjectCategoryName = absenceRealm.\u003CSubjectCategoryName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CMode\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.Mode = absenceRealm.\u003CMode\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CModeName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.ModeName = absenceRealm.\u003CModeName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                absenceRealm.DelayTimeMinutes = absenceRealm.\u003CDelayTimeMinutes\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CTeacher\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.Teacher = absenceRealm.\u003CTeacher\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                absenceRealm.LessonStartTime = absenceRealm.\u003CLessonStartTime\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CNumberOfLessons\u003Ek__BackingField != (short)0)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.NumberOfLessons = absenceRealm.\u003CNumberOfLessons\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                absenceRealm.CreatingTime = absenceRealm.\u003CCreatingTime\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CJustificationState\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.JustificationState = absenceRealm.\u003CJustificationState\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CJustificationStateName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.JustificationStateName = absenceRealm.\u003CJustificationStateName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CJustificationType\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.JustificationType = absenceRealm.\u003CJustificationType\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CJustificationTypeName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.JustificationTypeName = absenceRealm.\u003CJustificationTypeName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003CProfileId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.ProfileId = absenceRealm.\u003CProfileId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || absenceRealm.\u003COsztalyCsoportUid\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    absenceRealm.OsztalyCsoportUid = absenceRealm.\u003COsztalyCsoportUid\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                absenceRealm.CreatedDate = absenceRealm.\u003CCreatedDate\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && !absenceRealm.\u003CSeenByUser\u003Ek__BackingField)
                {
                    return;
                }
                // ISSUE: explicit non-virtual call
                // ISSUE: reference to a compiler-generated field
                __nonvirtual(absenceRealm.SeenByUser) = absenceRealm.\u003CSeenByUser\u003Ek__BackingField;
            }