Example #1
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            if (obj.GetType() != typeof(PrimedbeId))
            {
                return(false);
            }

            PrimedbeId recievedObject = (PrimedbeId)obj;

            if ((Glasacka_Mesta.Id == recievedObject.Glasacka_Mesta.Id) &&
                (Primedbe == recievedObject.Primedbe))
            {
                return(true);
            }

            return(false);
        }
Example #2
0
 public Primedbe()
 {
     Id = new PrimedbeId();
 }