public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                ClassGroupRealm classGroupRealm = (ClassGroupRealm)instance;

                value = (object)classGroupRealm.Uid;
                return(true);
            }
 public static ClassGroup Map(this ClassGroupRealm source)
 {
     return(new ClassGroup()
     {
         Uid = source.Uid,
         IsAktiv = source.IsAktiv,
         Nev = source.Nev,
         OsztalyfonokUid = source.OsztalyfonokUid,
         OktatasNevelesiFeladat = source.OktatasNevelesiFeladat.Map(),
         OsztalyCsoportTipus = source.OsztalyCsoportTipus
     });
 }
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                ClassGroupRealm classGroupRealm = (ClassGroupRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || classGroupRealm.\u003COsztalyCsoportTipus\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    classGroupRealm.OsztalyCsoportTipus = classGroupRealm.\u003COsztalyCsoportTipus\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (classGroupRealm.\u003COktatasNevelesiFeladat\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    classGroupRealm.get_Realm().Add <EducationTaskRealm>((M0)classGroupRealm.\u003COktatasNevelesiFeladat\u003Ek__BackingField, update);
                }
                // ISSUE: reference to a compiler-generated field
                classGroupRealm.OktatasNevelesiFeladat = classGroupRealm.\u003COktatasNevelesiFeladat\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || classGroupRealm.\u003CNev\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    classGroupRealm.Nev = classGroupRealm.\u003CNev\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || classGroupRealm.\u003CIsAktiv\u003Ek__BackingField)
                {
                    // ISSUE: reference to a compiler-generated field
                    classGroupRealm.IsAktiv = classGroupRealm.\u003CIsAktiv\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && classGroupRealm.\u003COsztalyfonokUid\u003Ek__BackingField == null)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                classGroupRealm.OsztalyfonokUid = classGroupRealm.\u003COsztalyfonokUid\u003Ek__BackingField;
            }