kreta/Kreta.DataAccessGenerated/Entities/Gondviselo.cs
2024-03-13 00:33:46 +01:00

2289 lines
84 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using Kreta.DataAccess.Interfaces;
using Kreta.Framework;
using Kreta.Framework.Actions;
using Kreta.Framework.Collections;
using Kreta.Framework.Collections.Generic;
using Kreta.Framework.Entities;
using Kreta.Framework.Entities.Generic;
using Kreta.Framework.Exceptions;
namespace SDA.Kreta.Entities
{
/// <summary>
/// Az UML modell Gondviselo entitásának megvalósítása.
/// </summary>
/// <remarks>A kód teljes egészében generált, kézi módosítása nem megengedett!</remarks>
[Entity("Gondviselo")]
// alapértelmezett EntityHistoryMode
public class Gondviselo : Entity, IGondviselo
{
internal protected Gondviselo()
: base()
{
}
public class AttributeInfo
{
public const string Aktiv = "Aktiv";
public const string GondviselesKezdete = "GondviselesKezdete";
public const string GondviselesVege = "GondviselesVege";
public const string GyermeketEgyedulNevelo = "GyermeketEgyedulNevelo";
public const string Nev = "Nev";
public const string Nyugdijas = "Nyugdijas";
public const string RokonsagFoka = "RokonsagFoka";
public const string IsEmailErtesites = "IsEmailErtesites";
public const string IsTorvenyesKepviselo = "IsTorvenyesKepviselo";
public const string IsCsokkentettGondviselo = "IsCsokkentettGondviselo";
public const string EgyediAzonosito = "EgyediAzonosito";
public const string Importalt = "Importalt";
public const string IdpEgyediAzonosito = "IdpEgyediAzonosito";
public const string CovidBejelentesDatuma = "CovidBejelentesDatuma";
public const string IsCovidBejelento = "IsCovidBejelento";
public const string AnyjaUtonev = "AnyjaUtonev";
public const string AnyjaVezeteknev = "AnyjaVezeteknev";
public const string Elotag = "Elotag";
public const string SzuletesiDatum = "SzuletesiDatum";
public const string SzuletesiHely = "SzuletesiHely";
public const string SzuletesiUtonev = "SzuletesiUtonev";
public const string SzuletesiVezeteknev = "SzuletesiVezeteknev";
public const string Utonev = "Utonev";
public const string Vezeteknev = "Vezeteknev";
public const string FeltarElfogadasDatuma = "FeltarElfogadasDatuma";
public const string IsFeltarElfogadott = "IsFeltarElfogadott";
}
public class AttributeLengthInfo
{
public const int NevLength = 200;
public const int EgyediAzonositoLength = 36;
public const int AnyjaUtonevLength = 255;
public const int AnyjaVezeteknevLength = 255;
public const int ElotagLength = 20;
public const int SzuletesiHelyLength = 255;
public const int SzuletesiUtonevLength = 255;
public const int SzuletesiVezeteknevLength = 255;
public const int UtonevLength = 255;
public const int VezeteknevLength = 255;
}
#region General
private GondviseloDA m_DA = new GondviseloDA();
protected static Gondviselo FakeGondviselo { get; set; }
public static Gondviselo GiveAnInstance()
{
Gondviselo result = FakeGondviselo == null
? new Gondviselo()
: (Gondviselo)FakeGondviselo.MemberwiseClone();
result.Reset();
result.SetDefaultData();
return result;
}
protected void SetDefaultData()
{
if (UserContext.Instance != null)
{
if (UserContext.Instance.IntezmenyId > 0)
{
IntezmenyId = UserContext.Instance.IntezmenyId;
}
if (UserContext.Instance.AktivTanevId > 0)
{
TanevId = UserContext.Instance.AktivTanevId;
}
m_State = EntityState.Uninitialized;
}
}
protected override IEntityDataAccessor GetDataAccessor() { return m_DA; }
protected internal virtual IEntityDataAccessor InheritedDA { get { return null; } }
[Obsolete("Ezt ne használjátok, mert mindenhova bele kellene fogalmazni a tanév szűrést is! Meg fog majd szűnni!")]
public static IEntityCollection<Gondviselo> LoadAll()
{
return LoadWithFilter("");
}
[Obsolete("Ezt ne használjátok, mert mindenhova bele kellene fogalmazni a tanév szűrést is! Meg fog majd szűnni!")]
public static IEntityCollection<Gondviselo> LoadAll(ColumnFilterMode columnFilterMode, IEnumerable<string> columns)
{
return LoadWithFilter("", columnFilterMode, columns);
}
[Obsolete("Ezt ne használjátok, mert mindenhova bele kellene fogalmazni a tanév szűrést is! Meg fog majd szűnni!")]
public static IEntityCollection<Gondviselo> LoadWithFilter(string filter, Dictionary<string, object> commandParameters = null)
{
var result = new EntityCollection<Gondviselo>();
new GondviseloDA().LoadWithFilter(result, filter, commandParameters);
return result;
}
[Obsolete("Ezt ne használjátok, mert mindenhova bele kellene fogalmazni a tanév szűrést is! Meg fog majd szűnni!")]
public static IEntityCollection<Gondviselo> LoadWithFilter(string filter, ColumnFilterMode columnFilterMode, IEnumerable<string> columns, Dictionary<string, object> commandParameters = null)
{
var result = new EntityCollection<Gondviselo>();
new GondviseloDA().LoadWithFilter(result, filter, columnFilterMode, columns, commandParameters);
return result;
}
protected override void StoreOriginalValues()
{
base.StoreOriginalValues();
OriginalValues.Add("Aktiv", (object)m_Aktiv);
OriginalValues.Add("GondviselesKezdete", (GondviselesKezdete == null ? (object)DBNull.Value : (object)m_GondviselesKezdete));
OriginalValues.Add("GondviselesVege", (GondviselesVege == null ? (object)DBNull.Value : (object)m_GondviselesVege));
OriginalValues.Add("GyermeketEgyedulNevelo", (object)m_GyermeketEgyedulNevelo);
OriginalValues.Add("Nev", (object)m_Nev);
OriginalValues.Add("Nyugdijas", (object)m_Nyugdijas);
OriginalValues.Add("RokonsagFoka", (object)m_RokonsagFoka);
OriginalValues.Add("IsEmailErtesites", (object)m_IsEmailErtesites);
OriginalValues.Add("IsTorvenyesKepviselo", (object)m_IsTorvenyesKepviselo);
OriginalValues.Add("IsCsokkentettGondviselo", (object)m_IsCsokkentettGondviselo);
OriginalValues.Add("EgyediAzonosito", (object)m_EgyediAzonosito);
OriginalValues.Add("Importalt", (object)m_Importalt);
OriginalValues.Add("IdpEgyediAzonosito", (object)m_IdpEgyediAzonosito);
OriginalValues.Add("CovidBejelentesDatuma", (CovidBejelentesDatuma == null ? (object)DBNull.Value : (object)m_CovidBejelentesDatuma));
OriginalValues.Add("IsCovidBejelento", (object)m_IsCovidBejelento);
OriginalValues.Add("AnyjaUtonev", (AnyjaUtonev == null ? (object)DBNull.Value : (object)m_AnyjaUtonev));
OriginalValues.Add("AnyjaVezeteknev", (AnyjaVezeteknev == null ? (object)DBNull.Value : (object)m_AnyjaVezeteknev));
OriginalValues.Add("Elotag", (Elotag == null ? (object)DBNull.Value : (object)m_Elotag));
OriginalValues.Add("SzuletesiDatum", (SzuletesiDatum == null ? (object)DBNull.Value : (object)m_SzuletesiDatum));
OriginalValues.Add("SzuletesiHely", (SzuletesiHely == null ? (object)DBNull.Value : (object)m_SzuletesiHely));
OriginalValues.Add("SzuletesiUtonev", (SzuletesiUtonev == null ? (object)DBNull.Value : (object)m_SzuletesiUtonev));
OriginalValues.Add("SzuletesiVezeteknev", (SzuletesiVezeteknev == null ? (object)DBNull.Value : (object)m_SzuletesiVezeteknev));
OriginalValues.Add("Utonev", (Utonev == null ? (object)DBNull.Value : (object)m_Utonev));
OriginalValues.Add("Vezeteknev", (Vezeteknev == null ? (object)DBNull.Value : (object)m_Vezeteknev));
OriginalValues.Add("FeltarElfogadasDatuma", (FeltarElfogadasDatuma == null ? (object)DBNull.Value : (object)m_FeltarElfogadasDatuma));
OriginalValues.Add("IsFeltarElfogadott", (object)m_IsFeltarElfogadott);
OriginalValues.Add("TanuloId", (m_TanuloId < 0 ? (object)DBNull.Value : (object)m_TanuloId));
OriginalValues.Add("IntezmenyId", (m_IntezmenyId < 0 ? (object)DBNull.Value : (object)m_IntezmenyId));
OriginalValues.Add("TanevId", (m_TanevId < 0 ? (object)DBNull.Value : (object)m_TanevId));
}
#endregion
#region Ellenőrzés
protected override void Validate(bool skipValidateAttributes = false)
{
base.Validate();
if (!skipValidateAttributes)
{
// korlátos hosszúságú mezők ellenőrzése...
if (m_Nev != null && m_Nev.Length > 200)
{
throw new InvalidEntityAttributeException("Gondviselo", "Nev", EntityAttributeError.TooLong);
}
if (m_EgyediAzonosito != null && m_EgyediAzonosito.Length > 36)
{
throw new InvalidEntityAttributeException("Gondviselo", "EgyediAzonosito", EntityAttributeError.TooLong);
}
if (m_AnyjaUtonev != null && m_AnyjaUtonev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "AnyjaUtonev", EntityAttributeError.TooLong);
}
if (m_AnyjaVezeteknev != null && m_AnyjaVezeteknev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "AnyjaVezeteknev", EntityAttributeError.TooLong);
}
if (m_Elotag != null && m_Elotag.Length > 20)
{
throw new InvalidEntityAttributeException("Gondviselo", "Elotag", EntityAttributeError.TooLong);
}
if (m_SzuletesiHely != null && m_SzuletesiHely.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "SzuletesiHely", EntityAttributeError.TooLong);
}
if (m_SzuletesiUtonev != null && m_SzuletesiUtonev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "SzuletesiUtonev", EntityAttributeError.TooLong);
}
if (m_SzuletesiVezeteknev != null && m_SzuletesiVezeteknev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "SzuletesiVezeteknev", EntityAttributeError.TooLong);
}
if (m_Utonev != null && m_Utonev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "Utonev", EntityAttributeError.TooLong);
}
if (m_Vezeteknev != null && m_Vezeteknev.Length > 255)
{
throw new InvalidEntityAttributeException("Gondviselo", "Vezeteknev", EntityAttributeError.TooLong);
}
}
// kötelező asszociációk ellenőrzése...
if (m_TanuloId == -1) { throw new InvalidEntityAttributeException("Gondviselo", "TanuloId", EntityAttributeError.Empty); }
if (m_IntezmenyId == -1) { throw new InvalidEntityAttributeException("Gondviselo", "IntezmenyId", EntityAttributeError.Empty); }
if (m_TanevId == -1) { throw new InvalidEntityAttributeException("Gondviselo", "TanevId", EntityAttributeError.Empty); }
}
#endregion
#region Alaphelyzetbe állítás
protected override void Reset()
{
base.Reset();
// alaphelyzetbe állítjuk az egyszerű mezőket
this.m_Aktiv = true;
this.m_GondviselesKezdete = null;
this.m_GondviselesVege = null;
this.m_GyermeketEgyedulNevelo = false;
this.m_Nev = "";
this.m_Nyugdijas = false;
this.m_RokonsagFoka = -1;
this.m_IsEmailErtesites = false;
this.m_IsTorvenyesKepviselo = false;
this.m_IsCsokkentettGondviselo = false;
this.m_EgyediAzonosito = "00000000-0000-0000-0000-000000000000";
this.m_Importalt = false;
this.m_IdpEgyediAzonosito = Guid.Parse("00000000-0000-0000-0000-000000000000");
this.m_CovidBejelentesDatuma = null;
this.m_IsCovidBejelento = false;
this.m_AnyjaUtonev = null;
this.m_AnyjaVezeteknev = null;
this.m_Elotag = null;
this.m_SzuletesiDatum = null;
this.m_SzuletesiHely = null;
this.m_SzuletesiUtonev = null;
this.m_SzuletesiVezeteknev = null;
this.m_Utonev = null;
this.m_Vezeteknev = null;
this.m_FeltarElfogadasDatuma = null;
this.m_IsFeltarElfogadott = false;
// alaphelyzetbe állítjuk az asszociációkból származó mezőket
this.m_TanuloId = -1;
this.m_Tanulo = null; // Entity
this.m_Cim = null; // EntityCollection
this.m_FelhasznaloBelepes = null; // EntityCollection
this.m_Telefon = null; // EntityCollection
this.m_Email = null; // EntityCollection
this.m_OldalLatogatottsag = null; // EntityCollection
this.m_PartnerDoksik = null; // EntityCollection
this.m_FeltoltottDoksik = null; // EntityCollection
this.m_TanuloEsemenyLattamozas = null; // EntityCollection
this.m_TanuloErtekelesLattamozas = null; // EntityCollection
this.m_TanuloMulasztasLattamozas = null; // EntityCollection
this.m_FelhasznaloBelepesTortenet = null; // EntityCollection
this.m_SZMKKepviseloHelyettesOsztaly = null; // EntityCollection
this.m_SZMKKepviseloOsztaly = null; // EntityCollection
this.m_JelszoModositasLink = null; // EntityCollection
this.m_FogadooraIdopont_Gondviselo = null; // EntityCollection
this.m_ElvegzettKurzus = null; // EntityCollection
this.m_ElearningFelhasznalo = null; // EntityCollection
this.m_LepEloadasJegyzek = null; // EntityCollection
this.m_DashboardUzenetFelhasznalo = null; // EntityCollection
this.m_EgyHaztartasbanElok = null; // EntityCollection
this.m_ProfilkepFile = null; // EntityCollection
this.m_EszkozIgenyles = null; // EntityCollection
this.m_IntezmenyId = -1;
this.m_Intezmeny = null; // Entity
this.m_TanevId = -1;
this.m_Tanev = null; // Entity
}
#endregion
protected override void DeAssociateBeforeDelete(bool runHandler = false)
{
// Nem kaszkád törölhető asszociációk ellenőrzése, hogy üresek-e...
// Tanulo esetében mi mutatunk a másikra: startrole: *, endrole: 1
if (this.Cim.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "Cim", EntityUtil.GetAssociationDescription("T_CIM_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.FelhasznaloBelepes.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "FelhasznaloBelepes", EntityUtil.GetAssociationDescription("T_FELHASZNALOBELEPES_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.Telefon.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "Telefon", EntityUtil.GetAssociationDescription("T_TELEFON_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.Email.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "Email", EntityUtil.GetAssociationDescription("T_EMAIL_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.OldalLatogatottsag.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "OldalLatogatottsag", EntityUtil.GetAssociationDescription("T_OLDALLATOGATOTTSAG_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.PartnerDoksik.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "PartnerDoksik", EntityUtil.GetAssociationDescription("T_IKTATOTTDOKUMENTUMOK_OSSZES", "C_DOKPARTNERGONDVISELOID")); // nincs kapcsolotabla
}
if (this.FeltoltottDoksik.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "FeltoltottDoksik", EntityUtil.GetAssociationDescription("T_IKTATOTTDOKUMENTUMOK_OSSZES", "C_FELTOLTOGONDVISELOID")); // nincs kapcsolotabla
}
if (this.TanuloEsemenyLattamozas.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "TanuloEsemenyLattamozas", EntityUtil.GetAssociationDescription("T_TANULOESEMENYLATTAMOZAS_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.TanuloErtekelesLattamozas.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "TanuloErtekelesLattamozas", EntityUtil.GetAssociationDescription("T_TANULOERTEKELESLATTAMOZAS_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.TanuloMulasztasLattamozas.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "TanuloMulasztasLattamozas", EntityUtil.GetAssociationDescription("T_TANULOMULASZTASLATTAMOZAS_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.FelhasznaloBelepesTortenet.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "FelhasznaloBelepesTortenet", EntityUtil.GetAssociationDescription("T_FELHASZNALOBELEPESTORTENET_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.SZMKKepviseloHelyettesOsztaly.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "SZMKKepviseloHelyettesOsztaly", EntityUtil.GetAssociationDescription("T_OSZTALY_OSSZES", "C_SZMKKEPVISELOHELYETTESID")); // nincs kapcsolotabla
}
if (this.SZMKKepviseloOsztaly.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "SZMKKepviseloOsztaly", EntityUtil.GetAssociationDescription("T_OSZTALY_OSSZES", "C_SZMKKEPVISELOID")); // nincs kapcsolotabla
}
if (this.JelszoModositasLink.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "JelszoModositasLink", EntityUtil.GetAssociationDescription("T_JELSZOMODOSITASLINK_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.FogadooraIdopont_Gondviselo.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "FogadooraIdopont_Gondviselo", EntityUtil.GetAssociationDescription("T_FOGADOORAIDOPONT_GONDVISELO_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.ElvegzettKurzus.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "ElvegzettKurzus", EntityUtil.GetAssociationDescription("T_ELVEGZETTKURZUS_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.ElearningFelhasznalo.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "ElearningFelhasznalo", EntityUtil.GetAssociationDescription("T_ELEARNINGFELHASZNALO_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.LepEloadasJegyzek.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "LepEloadasJegyzek", EntityUtil.GetAssociationDescription("T_LEPELOADASJEGYZEK_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.DashboardUzenetFelhasznalo.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "DashboardUzenetFelhasznalo", EntityUtil.GetAssociationDescription("T_DASHBOARDUZENETFELHASZNALO_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.EgyHaztartasbanElok.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "EgyHaztartasbanElok", EntityUtil.GetAssociationDescription("T_EGYHAZTARTASBANELOK_OSSZES", "C_ROGZITOGONDVISELOID")); // nincs kapcsolotabla
}
if (this.ProfilkepFile.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "ProfilkepFile", EntityUtil.GetAssociationDescription("T_PROFILKEPFILE_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
if (this.EszkozIgenyles.Count > 0)
{
throw new EntityDeleteFailedException("Gondviselo", "EszkozIgenyles", EntityUtil.GetAssociationDescription("T_ESZKOZIGENYLES_OSSZES", "C_GONDVISELOID")); // nincs kapcsolotabla
}
// Intezmeny esetében mi mutatunk a másikra: startrole: *, endrole: 1
// Tanev esetében mi mutatunk a másikra: startrole: *, endrole: 1
// kaszkád törlések...
}
#region Mezők és tulajdonságok
#region Egyszerű mezők
#region Aktiv
protected internal bool m_Aktiv;
/// <summary>
/// NINCS HASZNÁLVA ???
/// </summary>
[EntityProperty("Aktiv", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool Aktiv
{
get
{
return m_Aktiv;
}
set
{
CheckModifyable();
if (m_Aktiv == value) return;
m_Aktiv = value;
FieldModified("Aktiv", value);
}
}
#endregion
#region GondviselesKezdete
protected internal DateTime? m_GondviselesKezdete;
/// <summary>
/// A gondviselés kezdetének dátuma
/// </summary>
[EntityProperty("GondviselesKezdete", EntityPropertyBaseType.ValueType, typeof(DateTime), EntityCopyMethod.ShallowCopy)]
public virtual DateTime? GondviselesKezdete
{
get
{
return m_GondviselesKezdete;
}
set
{
CheckModifyable();
if (m_GondviselesKezdete == value) return;
m_GondviselesKezdete = value;
FieldModified("GondviselesKezdete", value);
}
}
#endregion
#region GondviselesVege
protected internal DateTime? m_GondviselesVege;
/// <summary>
/// A gondviselés végének dátuma
/// </summary>
[EntityProperty("GondviselesVege", EntityPropertyBaseType.ValueType, typeof(DateTime), EntityCopyMethod.ShallowCopy)]
public virtual DateTime? GondviselesVege
{
get
{
return m_GondviselesVege;
}
set
{
CheckModifyable();
if (m_GondviselesVege == value) return;
m_GondviselesVege = value;
FieldModified("GondviselesVege", value);
}
}
#endregion
#region GyermeketEgyedulNevelo
protected internal bool m_GyermeketEgyedulNevelo;
/// <summary>
/// A gyermeket egyedül neveli-e
/// </summary>
[EntityProperty("GyermeketEgyedulNevelo", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool GyermeketEgyedulNevelo
{
get
{
return m_GyermeketEgyedulNevelo;
}
set
{
CheckModifyable();
if (m_GyermeketEgyedulNevelo == value) return;
m_GyermeketEgyedulNevelo = value;
FieldModified("GyermeketEgyedulNevelo", value);
}
}
#endregion
#region Nev
protected internal string m_Nev;
/// <summary>
/// A gondviselo teljes neve
/// </summary>
[EntityProperty("Nev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string Nev
{
get
{
return m_Nev;
}
set
{
CheckModifyable();
if (m_Nev == value) return;
m_Nev = value;
FieldModified("Nev", value);
}
}
#endregion
#region Nyugdijas
protected internal bool m_Nyugdijas;
/// <summary>
/// Nyugdíjas-e
/// </summary>
[EntityProperty("Nyugdijas", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool Nyugdijas
{
get
{
return m_Nyugdijas;
}
set
{
CheckModifyable();
if (m_Nyugdijas == value) return;
m_Nyugdijas = value;
FieldModified("Nyugdijas", value);
}
}
#endregion
#region RokonsagFoka
protected internal int /* DictionaryItem */ m_RokonsagFoka;
/// <summary>
/// A gondviselt és a gondviselo közti rokonság foka ID (anya, apa, nagyszülo stb...)
/// </summary>
[EntityProperty("RokonsagFoka", EntityPropertyBaseType.ValueType, typeof(int /* DictionaryItem */), EntityCopyMethod.ShallowCopy)]
[EntityDictionaryItemProperty("RokonsagFoka", "RokonsagiFok", typeof(SDA.Kreta.Entities.RokonsagiFok))]
public virtual int /* DictionaryItem */ RokonsagFoka
{
get
{
return m_RokonsagFoka;
}
set
{
CheckModifyable();
if (m_RokonsagFoka == value) return;
m_RokonsagFoka = value;
FieldModified("RokonsagFoka", value);
}
}
#endregion
#region IsEmailErtesites
protected internal bool m_IsEmailErtesites;
/// <summary>
/// A belépési adatok kiküldésre kerüljenek-e emailben
/// </summary>
[EntityProperty("IsEmailErtesites", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool IsEmailErtesites
{
get
{
return m_IsEmailErtesites;
}
set
{
CheckModifyable();
if (m_IsEmailErtesites == value) return;
m_IsEmailErtesites = value;
FieldModified("IsEmailErtesites", value);
}
}
#endregion
#region IsTorvenyesKepviselo
protected internal bool m_IsTorvenyesKepviselo;
/// <summary>
/// Egyben törvényes képviselo-e
/// </summary>
[EntityProperty("IsTorvenyesKepviselo", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool IsTorvenyesKepviselo
{
get
{
return m_IsTorvenyesKepviselo;
}
set
{
CheckModifyable();
if (m_IsTorvenyesKepviselo == value) return;
m_IsTorvenyesKepviselo = value;
FieldModified("IsTorvenyesKepviselo", value);
}
}
#endregion
#region IsCsokkentettGondviselo
protected internal bool m_IsCsokkentettGondviselo;
/// <summary>
/// Amennyiben a gondviselo magának csinál belépést, akkor csökkentett módot kap, ami az admin jóváhagyása után válik teljes belépéssé. Ha az admin veszi fel a gondviselot, akkor az oszlop default 'F' értéku lesz
/// </summary>
[EntityProperty("IsCsokkentettGondviselo", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool IsCsokkentettGondviselo
{
get
{
return m_IsCsokkentettGondviselo;
}
set
{
CheckModifyable();
if (m_IsCsokkentettGondviselo == value) return;
m_IsCsokkentettGondviselo = value;
FieldModified("IsCsokkentettGondviselo", value);
}
}
#endregion
#region EgyediAzonosito
protected internal string m_EgyediAzonosito;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("EgyediAzonosito", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string EgyediAzonosito
{
get
{
return m_EgyediAzonosito;
}
set
{
CheckModifyable();
if (m_EgyediAzonosito == value) return;
m_EgyediAzonosito = value;
FieldModified("EgyediAzonosito", value);
}
}
#endregion
#region Importalt
protected internal bool m_Importalt;
/// <summary>
/// Importálással került-e be a rekord. Amint felületen módosítják a rekordot a flag False-ra vált. 
/// </summary>
[EntityProperty("Importalt", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool Importalt
{
get
{
return m_Importalt;
}
set
{
CheckModifyable();
if (m_Importalt == value) return;
m_Importalt = value;
FieldModified("Importalt", value);
}
}
#endregion
#region IdpEgyediAzonosito
protected internal Guid m_IdpEgyediAzonosito;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("IdpEgyediAzonosito", EntityPropertyBaseType.ValueType, typeof(Guid), EntityCopyMethod.ShallowCopy)]
public virtual Guid IdpEgyediAzonosito
{
get
{
return m_IdpEgyediAzonosito;
}
set
{
CheckModifyable();
if (m_IdpEgyediAzonosito == value) return;
m_IdpEgyediAzonosito = value;
FieldModified("IdpEgyediAzonosito", value);
}
}
#endregion
#region CovidBejelentesDatuma
protected internal DateTime? m_CovidBejelentesDatuma;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("CovidBejelentesDatuma", EntityPropertyBaseType.ValueType, typeof(DateTime), EntityCopyMethod.ShallowCopy)]
public virtual DateTime? CovidBejelentesDatuma
{
get
{
return m_CovidBejelentesDatuma;
}
set
{
CheckModifyable();
if (m_CovidBejelentesDatuma == value) return;
m_CovidBejelentesDatuma = value;
FieldModified("CovidBejelentesDatuma", value);
}
}
#endregion
#region IsCovidBejelento
protected internal bool m_IsCovidBejelento;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("IsCovidBejelento", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool IsCovidBejelento
{
get
{
return m_IsCovidBejelento;
}
set
{
CheckModifyable();
if (m_IsCovidBejelento == value) return;
m_IsCovidBejelento = value;
FieldModified("IsCovidBejelento", value);
}
}
#endregion
#region AnyjaUtonev
protected internal string m_AnyjaUtonev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("AnyjaUtonev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string AnyjaUtonev
{
get
{
return m_AnyjaUtonev;
}
set
{
CheckModifyable();
if (m_AnyjaUtonev == value) return;
m_AnyjaUtonev = value;
FieldModified("AnyjaUtonev", value);
}
}
#endregion
#region AnyjaVezeteknev
protected internal string m_AnyjaVezeteknev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("AnyjaVezeteknev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string AnyjaVezeteknev
{
get
{
return m_AnyjaVezeteknev;
}
set
{
CheckModifyable();
if (m_AnyjaVezeteknev == value) return;
m_AnyjaVezeteknev = value;
FieldModified("AnyjaVezeteknev", value);
}
}
#endregion
#region Elotag
protected internal string m_Elotag;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("Elotag", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string Elotag
{
get
{
return m_Elotag;
}
set
{
CheckModifyable();
if (m_Elotag == value) return;
m_Elotag = value;
FieldModified("Elotag", value);
}
}
#endregion
#region SzuletesiDatum
protected internal DateTime? m_SzuletesiDatum;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("SzuletesiDatum", EntityPropertyBaseType.ValueType, typeof(DateTime), EntityCopyMethod.ShallowCopy)]
public virtual DateTime? SzuletesiDatum
{
get
{
return m_SzuletesiDatum;
}
set
{
CheckModifyable();
if (m_SzuletesiDatum == value) return;
m_SzuletesiDatum = value;
FieldModified("SzuletesiDatum", value);
}
}
#endregion
#region SzuletesiHely
protected internal string m_SzuletesiHely;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("SzuletesiHely", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string SzuletesiHely
{
get
{
return m_SzuletesiHely;
}
set
{
CheckModifyable();
if (m_SzuletesiHely == value) return;
m_SzuletesiHely = value;
FieldModified("SzuletesiHely", value);
}
}
#endregion
#region SzuletesiUtonev
protected internal string m_SzuletesiUtonev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("SzuletesiUtonev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string SzuletesiUtonev
{
get
{
return m_SzuletesiUtonev;
}
set
{
CheckModifyable();
if (m_SzuletesiUtonev == value) return;
m_SzuletesiUtonev = value;
FieldModified("SzuletesiUtonev", value);
}
}
#endregion
#region SzuletesiVezeteknev
protected internal string m_SzuletesiVezeteknev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("SzuletesiVezeteknev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string SzuletesiVezeteknev
{
get
{
return m_SzuletesiVezeteknev;
}
set
{
CheckModifyable();
if (m_SzuletesiVezeteknev == value) return;
m_SzuletesiVezeteknev = value;
FieldModified("SzuletesiVezeteknev", value);
}
}
#endregion
#region Utonev
protected internal string m_Utonev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("Utonev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string Utonev
{
get
{
return m_Utonev;
}
set
{
CheckModifyable();
if (m_Utonev == value) return;
m_Utonev = value;
FieldModified("Utonev", value);
}
}
#endregion
#region Vezeteknev
protected internal string m_Vezeteknev;
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
[EntityProperty("Vezeteknev", EntityPropertyBaseType.ValueType, typeof(string), EntityCopyMethod.ShallowCopy)]
public virtual string Vezeteknev
{
get
{
return m_Vezeteknev;
}
set
{
CheckModifyable();
if (m_Vezeteknev == value) return;
m_Vezeteknev = value;
FieldModified("Vezeteknev", value);
}
}
#endregion
#region FeltarElfogadasDatuma
protected internal DateTime? m_FeltarElfogadasDatuma;
/// <summary>
/// A FELTÁR rendszerbe befogadás dátuma
/// </summary>
[EntityProperty("FeltarElfogadasDatuma", EntityPropertyBaseType.ValueType, typeof(DateTime), EntityCopyMethod.ShallowCopy)]
public virtual DateTime? FeltarElfogadasDatuma
{
get
{
return m_FeltarElfogadasDatuma;
}
set
{
CheckModifyable();
if (m_FeltarElfogadasDatuma == value) return;
m_FeltarElfogadasDatuma = value;
FieldModified("FeltarElfogadasDatuma", value);
}
}
#endregion
#region IsFeltarElfogadott
protected internal bool m_IsFeltarElfogadott;
/// <summary>
/// FELTÁR rendszerben szerepel-e?
/// </summary>
[EntityProperty("IsFeltarElfogadott", EntityPropertyBaseType.ValueType, typeof(bool), EntityCopyMethod.ShallowCopy)]
public virtual bool IsFeltarElfogadott
{
get
{
return m_IsFeltarElfogadott;
}
set
{
CheckModifyable();
if (m_IsFeltarElfogadott == value) return;
m_IsFeltarElfogadott = value;
FieldModified("IsFeltarElfogadott", value);
}
}
#endregion
#endregion
#region Asszociációkkal kapcsolatos dolgok
protected internal virtual bool LoadByCimId(int id)
{
return m_DA.LoadByCimId(id, this);
}
protected internal virtual bool LoadByFelhasznaloBelepesId(int id)
{
return m_DA.LoadByFelhasznaloBelepesId(id, this);
}
protected internal virtual bool LoadByTelefonId(int id)
{
return m_DA.LoadByTelefonId(id, this);
}
protected internal virtual bool LoadByEmailId(int id)
{
return m_DA.LoadByEmailId(id, this);
}
protected internal virtual bool LoadByOldalLatogatottsagId(int id)
{
return m_DA.LoadByOldalLatogatottsagId(id, this);
}
protected internal virtual bool LoadByPartnerDoksikId(int id)
{
return m_DA.LoadByPartnerDoksikId(id, this);
}
protected internal virtual bool LoadByFeltoltottDoksikId(int id)
{
return m_DA.LoadByFeltoltottDoksikId(id, this);
}
protected internal virtual bool LoadByTanuloEsemenyLattamozasId(int id)
{
return m_DA.LoadByTanuloEsemenyLattamozasId(id, this);
}
protected internal virtual bool LoadByTanuloErtekelesLattamozasId(int id)
{
return m_DA.LoadByTanuloErtekelesLattamozasId(id, this);
}
protected internal virtual bool LoadByTanuloMulasztasLattamozasId(int id)
{
return m_DA.LoadByTanuloMulasztasLattamozasId(id, this);
}
protected internal virtual bool LoadByFelhasznaloBelepesTortenetId(int id)
{
return m_DA.LoadByFelhasznaloBelepesTortenetId(id, this);
}
protected internal virtual bool LoadBySZMKKepviseloHelyettesOsztalyId(int id)
{
return m_DA.LoadBySZMKKepviseloHelyettesOsztalyId(id, this);
}
protected internal virtual bool LoadBySZMKKepviseloOsztalyId(int id)
{
return m_DA.LoadBySZMKKepviseloOsztalyId(id, this);
}
protected internal virtual bool LoadByJelszoModositasLinkId(int id)
{
return m_DA.LoadByJelszoModositasLinkId(id, this);
}
protected internal virtual bool LoadByFogadooraIdopont_GondviseloId(int id)
{
return m_DA.LoadByFogadooraIdopont_GondviseloId(id, this);
}
protected internal virtual bool LoadByElvegzettKurzusId(int id)
{
return m_DA.LoadByElvegzettKurzusId(id, this);
}
protected internal virtual bool LoadByElearningFelhasznaloId(int id)
{
return m_DA.LoadByElearningFelhasznaloId(id, this);
}
protected internal virtual bool LoadByLepEloadasJegyzekId(int id)
{
return m_DA.LoadByLepEloadasJegyzekId(id, this);
}
protected internal virtual bool LoadByDashboardUzenetFelhasznaloId(int id)
{
return m_DA.LoadByDashboardUzenetFelhasznaloId(id, this);
}
protected internal virtual bool LoadByEgyHaztartasbanElokId(int id)
{
return m_DA.LoadByEgyHaztartasbanElokId(id, this);
}
protected internal virtual bool LoadByProfilkepFileId(int id)
{
return m_DA.LoadByProfilkepFileId(id, this);
}
protected internal virtual bool LoadByEszkozIgenylesId(int id)
{
return m_DA.LoadByEszkozIgenylesId(id, this);
}
#region Gondviselo (*) -> Tanulo (1)
protected internal int m_TanuloId = -1;
/// <summary>
/// A(z) Tanulo asszociáció végpontjának ID-ja.
/// </summary>
/// <remarks>
/// - Insert() előtt célszerű kitölteni
/// - Update() nincs rá hatással: ezt a mezőt nem frissíti
/// - LoadByID() felhozza ezt a mezőt
/// </remarks>
public virtual int TanuloId
{
get
{
return InternalTanuloId;
}
set
{
InternalTanuloId = value;
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal int InternalTanuloId
{
get
{
if (m_Tanulo != null)
{
return m_Tanulo.ID;
}
else
{
return m_TanuloId;// XXX az meg nem teljesen OK
}
}
set
{
CheckModifyable();
if (m_TanuloId != value)
{
m_TanuloId = value;
m_Tanulo = null;
FieldModified("TanuloId", value);
}
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal void ModifyTanulo(Tanulo value)
{
m_TanuloId = value != null ? value.ID : -1;
m_Tanulo = value;
FieldModified("TanuloId", value != null ? (object)value.ID : DBNull.Value);
}
protected internal void SetTanulo(Tanulo value)
{
m_Tanulo = value;
if (value != null)
{
m_TanuloId = value.ID;
}
else
{
m_TanuloId = -1;
}
}
protected Tanulo m_Tanulo = null;
ITanulo IGondviselo.Tanulo
{
get { return Tanulo; }
set { Tanulo = value as Tanulo; }
}
/// <summary>
/// A tanuló ID-ja, akit gondvisel
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Tanulo entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Tanulo", EntityPropertyBaseType.Entity, typeof(Tanulo), EntityCopyMethod.ShallowCopy)]
public virtual Tanulo Tanulo
{
get
{
if ((m_Tanulo == null) && (m_TanuloId != -1))
{
SDA.Kreta.Entities.Tanulo partner = SDA.Kreta.Entities.Tanulo.GiveAnInstance();
partner.LoadByID(m_TanuloId);
this.SetTanulo(partner);
}
// természetesen null-t adunk vissza, ha nem tudtunk felhozni semmit
return m_Tanulo;
}
set
{
CheckModifyable();
if (value != null)
{
if ((m_Tanulo == null) || (value.ID != m_Tanulo.ID))
{
if (value.State != EntityState.Initialized)
{
throw new EntityStateException(value.State);
}
if ((this.State != EntityState.New))
{
// Lista van a másik oldalon, úgyhogy a lista DA-ját használjuk
SDA.Kreta.Entities.Tanulo_Gondviselo_DA da = new Tanulo_Gondviselo_DA(value);
da.AddItem(this);
this.SetTanulo(value);
}
else
{
this.SetTanulo(value);
}
FieldModified("TanuloId", value.ID);
}
}
else
{
// ki kell törölni a kapcsolatot az adatbázisban
this.SetTanulo(null);
UpdateAssociations();
FieldModified("TanuloId", DBNull.Value);
}
}
}
#endregion
#region Gondviselo (*) -> Intezmeny (1)
protected internal int m_IntezmenyId = -1;
/// <summary>
/// A(z) Intezmeny asszociáció végpontjának ID-ja.
/// </summary>
/// <remarks>
/// - Insert() előtt célszerű kitölteni
/// - Update() nincs rá hatással: ezt a mezőt nem frissíti
/// - LoadByID() felhozza ezt a mezőt
/// </remarks>
public virtual int IntezmenyId
{
get
{
return InternalIntezmenyId;
}
set
{
InternalIntezmenyId = value;
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal int InternalIntezmenyId
{
get
{
if (m_Intezmeny != null)
{
return m_Intezmeny.ID;
}
else
{
return m_IntezmenyId;// XXX az meg nem teljesen OK
}
}
set
{
CheckModifyable();
if (m_IntezmenyId != value)
{
m_IntezmenyId = value;
m_Intezmeny = null;
FieldModified("IntezmenyId", value);
}
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal void ModifyIntezmeny(Intezmeny value)
{
m_IntezmenyId = value != null ? value.ID : -1;
m_Intezmeny = value;
FieldModified("IntezmenyId", value != null ? (object)value.ID : DBNull.Value);
}
protected internal void SetIntezmeny(Intezmeny value)
{
m_Intezmeny = value;
if (value != null)
{
m_IntezmenyId = value.ID;
}
else
{
m_IntezmenyId = -1;
}
}
protected Intezmeny m_Intezmeny = null;
IIntezmeny IGondviselo.Intezmeny
{
get { return Intezmeny; }
set { Intezmeny = value as Intezmeny; }
}
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Intezmeny entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Intezmeny", EntityPropertyBaseType.Entity, typeof(Intezmeny), EntityCopyMethod.ShallowCopy)]
public virtual Intezmeny Intezmeny
{
get
{
if ((m_Intezmeny == null) && (m_IntezmenyId != -1))
{
SDA.Kreta.Entities.Intezmeny partner = SDA.Kreta.Entities.Intezmeny.GiveAnInstance();
partner.LoadByID(m_IntezmenyId);
this.SetIntezmeny(partner);
}
// természetesen null-t adunk vissza, ha nem tudtunk felhozni semmit
return m_Intezmeny;
}
set
{
CheckModifyable();
if (value != null)
{
if ((m_Intezmeny == null) || (value.ID != m_Intezmeny.ID))
{
if (value.State != EntityState.Initialized)
{
throw new EntityStateException(value.State);
}
if ((this.State != EntityState.New))
{
// Lista van a másik oldalon, úgyhogy a lista DA-ját használjuk
SDA.Kreta.Entities.Intezmeny_Gondviselo_DA da = new Intezmeny_Gondviselo_DA(value);
da.AddItem(this);
this.SetIntezmeny(value);
}
else
{
this.SetIntezmeny(value);
}
FieldModified("IntezmenyId", value.ID);
}
}
else
{
// ki kell törölni a kapcsolatot az adatbázisban
this.SetIntezmeny(null);
UpdateAssociations();
FieldModified("IntezmenyId", DBNull.Value);
}
}
}
#endregion
#region Gondviselo (*) -> Tanev (1)
protected internal int m_TanevId = -1;
/// <summary>
/// A(z) Tanev asszociáció végpontjának ID-ja.
/// </summary>
/// <remarks>
/// - Insert() előtt célszerű kitölteni
/// - Update() nincs rá hatással: ezt a mezőt nem frissíti
/// - LoadByID() felhozza ezt a mezőt
/// </remarks>
public virtual int TanevId
{
get
{
return InternalTanevId;
}
set
{
InternalTanevId = value;
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal int InternalTanevId
{
get
{
if (m_Tanev != null)
{
return m_Tanev.ID;
}
else
{
return m_TanevId;// XXX az meg nem teljesen OK
}
}
set
{
CheckModifyable();
if (m_TanevId != value)
{
m_TanevId = value;
m_Tanev = null;
FieldModified("TanevId", value);
}
}
}
/// <summary>
/// Ez egy külön bejárat a DA számára
/// <summary>
internal void ModifyTanev(Tanev value)
{
m_TanevId = value != null ? value.ID : -1;
m_Tanev = value;
FieldModified("TanevId", value != null ? (object)value.ID : DBNull.Value);
}
protected internal void SetTanev(Tanev value)
{
m_Tanev = value;
if (value != null)
{
m_TanevId = value.ID;
}
else
{
m_TanevId = -1;
}
}
protected Tanev m_Tanev = null;
ITanev IGondviselo.Tanev
{
get { return Tanev; }
set { Tanev = value as Tanev; }
}
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Tanev entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Tanev", EntityPropertyBaseType.Entity, typeof(Tanev), EntityCopyMethod.ShallowCopy)]
public virtual Tanev Tanev
{
get
{
if ((m_Tanev == null) && (m_TanevId != -1))
{
SDA.Kreta.Entities.Tanev partner = SDA.Kreta.Entities.Tanev.GiveAnInstance();
partner.LoadByID(m_TanevId);
this.SetTanev(partner);
}
// természetesen null-t adunk vissza, ha nem tudtunk felhozni semmit
return m_Tanev;
}
set
{
CheckModifyable();
if (value != null)
{
if ((m_Tanev == null) || (value.ID != m_Tanev.ID))
{
if (value.State != EntityState.Initialized)
{
throw new EntityStateException(value.State);
}
if ((this.State != EntityState.New))
{
// Lista van a másik oldalon, úgyhogy a lista DA-ját használjuk
SDA.Kreta.Entities.Tanev_Gondviselo_DA da = new Tanev_Gondviselo_DA(value);
da.AddItem(this);
this.SetTanev(value);
}
else
{
this.SetTanev(value);
}
FieldModified("TanevId", value.ID);
}
}
else
{
// ki kell törölni a kapcsolatot az adatbázisban
this.SetTanev(null);
UpdateAssociations();
FieldModified("TanevId", DBNull.Value);
}
}
}
#endregion
#region Gondviselo (0..1) -> Cim (*)
protected IAssociatedEntityCollection<Cim> m_Cim = null;
IReadOnlyList<ICim> IGondviselo.Cim => Cim.Cast<ICim>().ToList();
/// <summary>
/// A gondviselo ID-ja, akihez a cím tartozik (Ez esetben a gondviselohöz tartozó tanuló (felhasználó) ID-ja is töltodik
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Cim entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Cim", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<Cim>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<Cim> Cim
{
get
{
if (m_Cim == null)
{
m_Cim = new AssociatedEntityCollection<Gondviselo, Cim>(
new Gondviselo_Cim_DA(this)
);
m_Cim.Load();
}
return m_Cim;
}
}
#endregion
#region Gondviselo (0..1) -> FelhasznaloBelepes (*)
protected IAssociatedEntityCollection<FelhasznaloBelepes> m_FelhasznaloBelepes = null;
IReadOnlyList<IFelhasznaloBelepes> IGondviselo.FelhasznaloBelepes => FelhasznaloBelepes.Cast<IFelhasznaloBelepes>().ToList();
/// <summary>
/// A felhasználóbelépés melyik gondviselohöz tartozik. Ilyenkor a gondviselohöz tartozó tanuló ID-ja is töltve van.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és FelhasznaloBelepes entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("FelhasznaloBelepes", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<FelhasznaloBelepes>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<FelhasznaloBelepes> FelhasznaloBelepes
{
get
{
if (m_FelhasznaloBelepes == null)
{
m_FelhasznaloBelepes = new AssociatedEntityCollection<Gondviselo, FelhasznaloBelepes>(
new Gondviselo_FelhasznaloBelepes_DA(this)
);
m_FelhasznaloBelepes.Load();
}
return m_FelhasznaloBelepes;
}
}
#endregion
#region Gondviselo (0..1) -> Telefon (*)
protected IAssociatedEntityCollection<Telefon> m_Telefon = null;
IReadOnlyList<ITelefon> IGondviselo.Telefon => Telefon.Cast<ITelefon>().ToList();
/// <summary>
/// A gondviselo ID-ja, akihez a telefonszám tartozik (Ez esetben a gondviselohöz tartozó tanuló (felhasználó) ID-ja is töltodik
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Telefon entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Telefon", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<Telefon>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<Telefon> Telefon
{
get
{
if (m_Telefon == null)
{
m_Telefon = new AssociatedEntityCollection<Gondviselo, Telefon>(
new Gondviselo_Telefon_DA(this)
);
m_Telefon.Load();
}
return m_Telefon;
}
}
#endregion
#region Gondviselo (0..1) -> Email (*)
protected IAssociatedEntityCollection<Email> m_Email = null;
IReadOnlyList<IEmail> IGondviselo.Email => Email.Cast<IEmail>().ToList();
/// <summary>
/// A gondviselo ID-ja, akihez a emailcím tartozik (Ez esetben a gondviselohöz tartozó tanuló (felhasználó) ID-ja is töltodik
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Email entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("Email", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<Email>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<Email> Email
{
get
{
if (m_Email == null)
{
m_Email = new AssociatedEntityCollection<Gondviselo, Email>(
new Gondviselo_Email_DA(this)
);
m_Email.Load();
}
return m_Email;
}
}
#endregion
#region Gondviselo (0..1) -> OldalLatogatottsag (*)
protected IAssociatedEntityCollection<OldalLatogatottsag> m_OldalLatogatottsag = null;
IReadOnlyList<IOldalLatogatottsag> IGondviselo.OldalLatogatottsag => OldalLatogatottsag.Cast<IOldalLatogatottsag>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és OldalLatogatottsag entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("OldalLatogatottsag", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<OldalLatogatottsag>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<OldalLatogatottsag> OldalLatogatottsag
{
get
{
if (m_OldalLatogatottsag == null)
{
m_OldalLatogatottsag = new AssociatedEntityCollection<Gondviselo, OldalLatogatottsag>(
new Gondviselo_OldalLatogatottsag_DA(this)
);
m_OldalLatogatottsag.Load();
}
return m_OldalLatogatottsag;
}
}
#endregion
#region Gondviselo (0..1) -> IktatottDokumentumok (*)
protected IAssociatedEntityCollection<IktatottDokumentumok> m_PartnerDoksik = null;
IReadOnlyList<IIktatottDokumentumok> IGondviselo.PartnerDoksik => PartnerDoksik.Cast<IIktatottDokumentumok>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és IktatottDokumentumok entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("PartnerDoksik", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<IktatottDokumentumok>), EntityCopyMethod.DeepCopy, "DokPartnerGondviseloId")]
public virtual IAssociatedEntityCollection<IktatottDokumentumok> PartnerDoksik
{
get
{
if (m_PartnerDoksik == null)
{
m_PartnerDoksik = new AssociatedEntityCollection<Gondviselo, IktatottDokumentumok>(
new Gondviselo_PartnerDoksik_DA(this)
);
m_PartnerDoksik.Load();
}
return m_PartnerDoksik;
}
}
#endregion
#region Gondviselo (0..1) -> IktatottDokumentumok (*)
protected IAssociatedEntityCollection<IktatottDokumentumok> m_FeltoltottDoksik = null;
IReadOnlyList<IIktatottDokumentumok> IGondviselo.FeltoltottDoksik => FeltoltottDoksik.Cast<IIktatottDokumentumok>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és IktatottDokumentumok entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("FeltoltottDoksik", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<IktatottDokumentumok>), EntityCopyMethod.DeepCopy, "FeltoltoGondviseloId")]
public virtual IAssociatedEntityCollection<IktatottDokumentumok> FeltoltottDoksik
{
get
{
if (m_FeltoltottDoksik == null)
{
m_FeltoltottDoksik = new AssociatedEntityCollection<Gondviselo, IktatottDokumentumok>(
new Gondviselo_FeltoltottDoksik_DA(this)
);
m_FeltoltottDoksik.Load();
}
return m_FeltoltottDoksik;
}
}
#endregion
#region Gondviselo (0..1) -> TanuloEsemenyLattamozas (*)
protected IAssociatedEntityCollection<TanuloEsemenyLattamozas> m_TanuloEsemenyLattamozas = null;
IReadOnlyList<ITanuloEsemenyLattamozas> IGondviselo.TanuloEsemenyLattamozas => TanuloEsemenyLattamozas.Cast<ITanuloEsemenyLattamozas>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és TanuloEsemenyLattamozas entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("TanuloEsemenyLattamozas", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<TanuloEsemenyLattamozas>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<TanuloEsemenyLattamozas> TanuloEsemenyLattamozas
{
get
{
if (m_TanuloEsemenyLattamozas == null)
{
m_TanuloEsemenyLattamozas = new AssociatedEntityCollection<Gondviselo, TanuloEsemenyLattamozas>(
new Gondviselo_TanuloEsemenyLattamozas_DA(this)
);
m_TanuloEsemenyLattamozas.Load();
}
return m_TanuloEsemenyLattamozas;
}
}
#endregion
#region Gondviselo (0..1) -> TanuloErtekelesLattamozas (*)
protected IAssociatedEntityCollection<TanuloErtekelesLattamozas> m_TanuloErtekelesLattamozas = null;
IReadOnlyList<ITanuloErtekelesLattamozas> IGondviselo.TanuloErtekelesLattamozas => TanuloErtekelesLattamozas.Cast<ITanuloErtekelesLattamozas>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és TanuloErtekelesLattamozas entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("TanuloErtekelesLattamozas", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<TanuloErtekelesLattamozas>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<TanuloErtekelesLattamozas> TanuloErtekelesLattamozas
{
get
{
if (m_TanuloErtekelesLattamozas == null)
{
m_TanuloErtekelesLattamozas = new AssociatedEntityCollection<Gondviselo, TanuloErtekelesLattamozas>(
new Gondviselo_TanuloErtekelesLattamozas_DA(this)
);
m_TanuloErtekelesLattamozas.Load();
}
return m_TanuloErtekelesLattamozas;
}
}
#endregion
#region Gondviselo (1) -> TanuloMulasztasLattamozas (*)
protected IAssociatedEntityCollection<TanuloMulasztasLattamozas> m_TanuloMulasztasLattamozas = null;
IReadOnlyList<ITanuloMulasztasLattamozas> IGondviselo.TanuloMulasztasLattamozas => TanuloMulasztasLattamozas.Cast<ITanuloMulasztasLattamozas>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és TanuloMulasztasLattamozas entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("TanuloMulasztasLattamozas", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<TanuloMulasztasLattamozas>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<TanuloMulasztasLattamozas> TanuloMulasztasLattamozas
{
get
{
if (m_TanuloMulasztasLattamozas == null)
{
m_TanuloMulasztasLattamozas = new AssociatedEntityCollection<Gondviselo, TanuloMulasztasLattamozas>(
new Gondviselo_TanuloMulasztasLattamozas_DA(this)
);
m_TanuloMulasztasLattamozas.Load();
}
return m_TanuloMulasztasLattamozas;
}
}
#endregion
#region Gondviselo (0..1) -> FelhasznaloBelepesTortenet (*)
protected IAssociatedEntityCollection<FelhasznaloBelepesTortenet> m_FelhasznaloBelepesTortenet = null;
IReadOnlyList<IFelhasznaloBelepesTortenet> IGondviselo.FelhasznaloBelepesTortenet => FelhasznaloBelepesTortenet.Cast<IFelhasznaloBelepesTortenet>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és FelhasznaloBelepesTortenet entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("FelhasznaloBelepesTortenet", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<FelhasznaloBelepesTortenet>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<FelhasznaloBelepesTortenet> FelhasznaloBelepesTortenet
{
get
{
if (m_FelhasznaloBelepesTortenet == null)
{
m_FelhasznaloBelepesTortenet = new AssociatedEntityCollection<Gondviselo, FelhasznaloBelepesTortenet>(
new Gondviselo_FelhasznaloBelepesTortenet_DA(this)
);
m_FelhasznaloBelepesTortenet.Load();
}
return m_FelhasznaloBelepesTortenet;
}
}
#endregion
#region Gondviselo (0..1) -> Osztaly (*)
protected IAssociatedEntityCollection<Osztaly> m_SZMKKepviseloHelyettesOsztaly = null;
IReadOnlyList<IOsztaly> IGondviselo.SZMKKepviseloHelyettesOsztaly => SZMKKepviseloHelyettesOsztaly.Cast<IOsztaly>().ToList();
/// <summary>
/// Szüloi munkaközösség képviselohelyettes (gondviselo) ID-ja
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Osztaly entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("SZMKKepviseloHelyettesOsztaly", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<Osztaly>), EntityCopyMethod.DeepCopy, "SZMKKepviseloHelyettesId")]
public virtual IAssociatedEntityCollection<Osztaly> SZMKKepviseloHelyettesOsztaly
{
get
{
if (m_SZMKKepviseloHelyettesOsztaly == null)
{
m_SZMKKepviseloHelyettesOsztaly = new AssociatedEntityCollection<Gondviselo, Osztaly>(
new Gondviselo_SZMKKepviseloHelyettesOsztaly_DA(this)
);
m_SZMKKepviseloHelyettesOsztaly.Load();
}
return m_SZMKKepviseloHelyettesOsztaly;
}
}
#endregion
#region Gondviselo (0..1) -> Osztaly (*)
protected IAssociatedEntityCollection<Osztaly> m_SZMKKepviseloOsztaly = null;
IReadOnlyList<IOsztaly> IGondviselo.SZMKKepviseloOsztaly => SZMKKepviseloOsztaly.Cast<IOsztaly>().ToList();
/// <summary>
/// Szüloi munkaközösség képviselo (gondviselo) ID-ja
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és Osztaly entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("SZMKKepviseloOsztaly", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<Osztaly>), EntityCopyMethod.DeepCopy, "SZMKKepviseloId")]
public virtual IAssociatedEntityCollection<Osztaly> SZMKKepviseloOsztaly
{
get
{
if (m_SZMKKepviseloOsztaly == null)
{
m_SZMKKepviseloOsztaly = new AssociatedEntityCollection<Gondviselo, Osztaly>(
new Gondviselo_SZMKKepviseloOsztaly_DA(this)
);
m_SZMKKepviseloOsztaly.Load();
}
return m_SZMKKepviseloOsztaly;
}
}
#endregion
#region Gondviselo (0..1) -> JelszoModositasLink (*)
protected IAssociatedEntityCollection<JelszoModositasLink> m_JelszoModositasLink = null;
IReadOnlyList<IJelszoModositasLink> IGondviselo.JelszoModositasLink => JelszoModositasLink.Cast<IJelszoModositasLink>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és JelszoModositasLink entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("JelszoModositasLink", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<JelszoModositasLink>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<JelszoModositasLink> JelszoModositasLink
{
get
{
if (m_JelszoModositasLink == null)
{
m_JelszoModositasLink = new AssociatedEntityCollection<Gondviselo, JelszoModositasLink>(
new Gondviselo_JelszoModositasLink_DA(this)
);
m_JelszoModositasLink.Load();
}
return m_JelszoModositasLink;
}
}
#endregion
#region Gondviselo (1) -> FogadooraIdopont_Gondviselo (0..*)
protected IAssociatedEntityCollection<FogadooraIdopont_Gondviselo> m_FogadooraIdopont_Gondviselo = null;
IReadOnlyList<IFogadooraIdopont_Gondviselo> IGondviselo.FogadooraIdopont_Gondviselo => FogadooraIdopont_Gondviselo.Cast<IFogadooraIdopont_Gondviselo>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és FogadooraIdopont_Gondviselo entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("FogadooraIdopont_Gondviselo", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<FogadooraIdopont_Gondviselo>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<FogadooraIdopont_Gondviselo> FogadooraIdopont_Gondviselo
{
get
{
if (m_FogadooraIdopont_Gondviselo == null)
{
m_FogadooraIdopont_Gondviselo = new AssociatedEntityCollection<Gondviselo, FogadooraIdopont_Gondviselo>(
new Gondviselo_FogadooraIdopont_Gondviselo_DA(this)
);
m_FogadooraIdopont_Gondviselo.Load();
}
return m_FogadooraIdopont_Gondviselo;
}
}
#endregion
#region Gondviselo (0..1) -> ElvegzettKurzus (*)
protected IAssociatedEntityCollection<ElvegzettKurzus> m_ElvegzettKurzus = null;
IReadOnlyList<IElvegzettKurzus> IGondviselo.ElvegzettKurzus => ElvegzettKurzus.Cast<IElvegzettKurzus>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és ElvegzettKurzus entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("ElvegzettKurzus", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<ElvegzettKurzus>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<ElvegzettKurzus> ElvegzettKurzus
{
get
{
if (m_ElvegzettKurzus == null)
{
m_ElvegzettKurzus = new AssociatedEntityCollection<Gondviselo, ElvegzettKurzus>(
new Gondviselo_ElvegzettKurzus_DA(this)
);
m_ElvegzettKurzus.Load();
}
return m_ElvegzettKurzus;
}
}
#endregion
#region Gondviselo (0..1) -> ElearningFelhasznalo (*)
protected IAssociatedEntityCollection<ElearningFelhasznalo> m_ElearningFelhasznalo = null;
IReadOnlyList<IElearningFelhasznalo> IGondviselo.ElearningFelhasznalo => ElearningFelhasznalo.Cast<IElearningFelhasznalo>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és ElearningFelhasznalo entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("ElearningFelhasznalo", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<ElearningFelhasznalo>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<ElearningFelhasznalo> ElearningFelhasznalo
{
get
{
if (m_ElearningFelhasznalo == null)
{
m_ElearningFelhasznalo = new AssociatedEntityCollection<Gondviselo, ElearningFelhasznalo>(
new Gondviselo_ElearningFelhasznalo_DA(this)
);
m_ElearningFelhasznalo.Load();
}
return m_ElearningFelhasznalo;
}
}
#endregion
#region Gondviselo (0..1) -> LepEloadasJegyzek (*)
protected IAssociatedEntityCollection<LepEloadasJegyzek> m_LepEloadasJegyzek = null;
IReadOnlyList<ILepEloadasJegyzek> IGondviselo.LepEloadasJegyzek => LepEloadasJegyzek.Cast<ILepEloadasJegyzek>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és LepEloadasJegyzek entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("LepEloadasJegyzek", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<LepEloadasJegyzek>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<LepEloadasJegyzek> LepEloadasJegyzek
{
get
{
if (m_LepEloadasJegyzek == null)
{
m_LepEloadasJegyzek = new AssociatedEntityCollection<Gondviselo, LepEloadasJegyzek>(
new Gondviselo_LepEloadasJegyzek_DA(this)
);
m_LepEloadasJegyzek.Load();
}
return m_LepEloadasJegyzek;
}
}
#endregion
#region Gondviselo (0..1) -> DashboardUzenetFelhasznalo (*)
protected IAssociatedEntityCollection<DashboardUzenetFelhasznalo> m_DashboardUzenetFelhasznalo = null;
IReadOnlyList<IDashboardUzenetFelhasznalo> IGondviselo.DashboardUzenetFelhasznalo => DashboardUzenetFelhasznalo.Cast<IDashboardUzenetFelhasznalo>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és DashboardUzenetFelhasznalo entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("DashboardUzenetFelhasznalo", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<DashboardUzenetFelhasznalo>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<DashboardUzenetFelhasznalo> DashboardUzenetFelhasznalo
{
get
{
if (m_DashboardUzenetFelhasznalo == null)
{
m_DashboardUzenetFelhasznalo = new AssociatedEntityCollection<Gondviselo, DashboardUzenetFelhasznalo>(
new Gondviselo_DashboardUzenetFelhasznalo_DA(this)
);
m_DashboardUzenetFelhasznalo.Load();
}
return m_DashboardUzenetFelhasznalo;
}
}
#endregion
#region Gondviselo (0..1) -> EgyHaztartasbanElok (*)
protected IAssociatedEntityCollection<EgyHaztartasbanElok> m_EgyHaztartasbanElok = null;
IReadOnlyList<IEgyHaztartasbanElok> IGondviselo.EgyHaztartasbanElok => EgyHaztartasbanElok.Cast<IEgyHaztartasbanElok>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és EgyHaztartasbanElok entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("EgyHaztartasbanElok", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<EgyHaztartasbanElok>), EntityCopyMethod.DeepCopy, "RogzitoGondviseloId")]
public virtual IAssociatedEntityCollection<EgyHaztartasbanElok> EgyHaztartasbanElok
{
get
{
if (m_EgyHaztartasbanElok == null)
{
m_EgyHaztartasbanElok = new AssociatedEntityCollection<Gondviselo, EgyHaztartasbanElok>(
new Gondviselo_EgyHaztartasbanElok_DA(this)
);
m_EgyHaztartasbanElok.Load();
}
return m_EgyHaztartasbanElok;
}
}
#endregion
#region Gondviselo (0..1) -> ProfilkepFile (*)
protected IAssociatedEntityCollection<ProfilkepFile> m_ProfilkepFile = null;
IReadOnlyList<IProfilkepFile> IGondviselo.ProfilkepFile => ProfilkepFile.Cast<IProfilkepFile>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és ProfilkepFile entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("ProfilkepFile", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<ProfilkepFile>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<ProfilkepFile> ProfilkepFile
{
get
{
if (m_ProfilkepFile == null)
{
m_ProfilkepFile = new AssociatedEntityCollection<Gondviselo, ProfilkepFile>(
new Gondviselo_ProfilkepFile_DA(this)
);
m_ProfilkepFile.Load();
}
return m_ProfilkepFile;
}
}
#endregion
#region Gondviselo (0..1) -> EszkozIgenyles (*)
protected IAssociatedEntityCollection<EszkozIgenyles> m_EszkozIgenyles = null;
IReadOnlyList<IEszkozIgenyles> IGondviselo.EszkozIgenyles => EszkozIgenyles.Cast<IEszkozIgenyles>().ToList();
/// <summary>
/// Nincs definiálva megjegyzés.
/// </summary>
/// <remarks>
/// Az UML modellben szereplő Gondviselo és EszkozIgenyles entitások közötti asszociáció megvalósítása.
/// </remarks>
[EntityProperty("EszkozIgenyles", EntityPropertyBaseType.EntityCollection, typeof(IAssociatedEntityCollection<EszkozIgenyles>), EntityCopyMethod.DeepCopy, "GondviseloId")]
public virtual IAssociatedEntityCollection<EszkozIgenyles> EszkozIgenyles
{
get
{
if (m_EszkozIgenyles == null)
{
m_EszkozIgenyles = new AssociatedEntityCollection<Gondviselo, EszkozIgenyles>(
new Gondviselo_EszkozIgenyles_DA(this)
);
m_EszkozIgenyles.Load();
}
return m_EszkozIgenyles;
}
}
#endregion
#endregion
#endregion
}
}