public OpstiDomenskiObjekat napuni(DataRow red)
        {
            Platforma p = new Platforma();

            p.PlatformaID    = Convert.ToInt32(red[0]);
            p.NazivPlatforme = red[1].ToString();

            return(p);
        }
 public override bool Equals(object obj)
 {
     try
     {
         Platforma p = obj as Platforma;
         if (p == null)
         {
             return(false);
         }
         if (p.PlatformaID == this.platformaID)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (Exception)
     {
         return(false);
     }
 }