Exemplo n.º 1
0
        public override Dictionary <string, string> ToDict()
        {
            var dict = new Dictionary <string, string>();

            dict.Add("ArtikelID", ArtikelId.ToString());
            dict.Add("KundeID", KundeId.ToString());
            dict.Add("Abgabedatum", Abgabedatum.ToString());
            dict.Add("Leihdatum", Leihdatum.ToString());

            return(dict);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            var hashCode = 21937253;

            hashCode = hashCode * -1521134295 + ReservationsNr.GetHashCode();
            hashCode = hashCode * -1521134295 + AutoId.GetHashCode();
            hashCode = hashCode * -1521134295 + KundeId.GetHashCode();
            hashCode = hashCode * -1521134295 + From.GetHashCode();
            hashCode = hashCode * -1521134295 + To.GetHashCode();
            return(hashCode);
        }