Exemplo n.º 1
0
 public ReceptionCard(ulong Id = 0, TimeInterval Date = null, ClientCard Client = null, SpecialistCard Specialist = null, string Specialization = null, CabinetCard Cabinet = null)
 {
     id             = Id;
     date           = Date;
     client         = Client;
     specialist     = Specialist;
     specialization = Specialization;
     cabinet        = Cabinet;
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            CabinetCard cab = obj as CabinetCard;

            if (cab == null)
            {
                return(false);
            }
            return(name == cab.name);
        }
Exemplo n.º 3
0
        public CabinetCard SelectCabinetById(UInt16 id)
        {
            CabinetCard cached = caches.CabinetCache.Find(x => x.id == id);

            if (cached == default(CabinetCard))
            {
                caches.cabinetFullfilled = false;
                cached = SelectAllCabinets().Find(x => x.id == id);
            }
            return(cached);
        }
Exemplo n.º 4
0
 public Entity(ulong Id = 0, TimeInterval Date = null, ClientCard Client = null, SpecialistCard Specialist = null, string Specialization = null, CabinetCard Cabinet = null)
     : base(Id, Date, Client, Specialist, Specialization, Cabinet)
 {
 }