Exemplo n.º 1
0
            public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                InstituteRealm instituteRealm = (InstituteRealm)instance;

                value = (object)instituteRealm.InstituteCode;
                return(true);
            }
Exemplo n.º 2
0
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                InstituteRealm instituteRealm = (InstituteRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CInformationImageUrl\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.InformationImageUrl = instituteRealm.\u003CInformationImageUrl\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CInformationUrl\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.InformationUrl = instituteRealm.\u003CInformationUrl\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CInstituteId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.InstituteId = instituteRealm.\u003CInstituteId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CName\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.Name = instituteRealm.\u003CName\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CUrl\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.Url = instituteRealm.\u003CUrl\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || instituteRealm.\u003CCity\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.City = instituteRealm.\u003CCity\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (instituteRealm.\u003CFeatureToggleSet\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    instituteRealm.get_Realm().Add <FeatureToggleSet>((M0)instituteRealm.\u003CFeatureToggleSet\u003Ek__BackingField, update);
                }
                // ISSUE: reference to a compiler-generated field
                instituteRealm.FeatureToggleSet = instituteRealm.\u003CFeatureToggleSet\u003Ek__BackingField;
            }