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

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

                // ISSUE: reference to a compiler-generated field
                uzenetRealm.KuldesDatum = uzenetRealm.\u003CKuldesDatum\u003Ek__BackingField;
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || uzenetRealm.\u003CFeladoNev\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    uzenetRealm.FeladoNev = uzenetRealm.\u003CFeladoNev\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || uzenetRealm.\u003CFeladoTitulus\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    uzenetRealm.FeladoTitulus = uzenetRealm.\u003CFeladoTitulus\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || uzenetRealm.\u003CSzoveg\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    uzenetRealm.Szoveg = uzenetRealm.\u003CSzoveg\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || uzenetRealm.\u003CTargy\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    uzenetRealm.Targy = uzenetRealm.\u003CTargy\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || uzenetRealm.\u003CCimzettLista\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    IList <CimzettRealm> listaKBackingField = uzenetRealm.\u003CCimzettLista\u003Ek__BackingField;
                    // ISSUE: reference to a compiler-generated field
                    uzenetRealm.\u003CCimzettLista\u003Ek__BackingField = (IList <CimzettRealm>)null;
                    if (!skipDefaults)
                    {
                        uzenetRealm.CimzettLista.Clear();
                    }
                    if (listaKBackingField != null)
                    {
                        for (int index = 0; index < listaKBackingField.Count; ++index)
                        {
                            uzenetRealm.get_Realm().Add <CimzettRealm>((M0)listaKBackingField[index], update);
                            uzenetRealm.CimzettLista.Add(listaKBackingField[index]);
                        }
                    }
                }
                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && uzenetRealm.\u003CCsatolmanyok\u003Ek__BackingField == null)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                IList <CsatolmanyRealm> csatolmanyokKBackingField = uzenetRealm.\u003CCsatolmanyok\u003Ek__BackingField;

                // ISSUE: reference to a compiler-generated field
                uzenetRealm.\u003CCsatolmanyok\u003Ek__BackingField = (IList <CsatolmanyRealm>)null;
                if (!skipDefaults)
                {
                    uzenetRealm.Csatolmanyok.Clear();
                }
                if (csatolmanyokKBackingField == null)
                {
                    return;
                }
                for (int index = 0; index < csatolmanyokKBackingField.Count; ++index)
                {
                    uzenetRealm.get_Realm().Add <CsatolmanyRealm>((M0)csatolmanyokKBackingField[index], update);
                    uzenetRealm.Csatolmanyok.Add(csatolmanyokKBackingField[index]);
                }
            }