bool IEquatable <IInnePrawa> .Equals(IInnePrawa other)
        {
            //return //InnePrawaId.Equals(other.InnePrawaId) &&
            //       DzialkaId.Equals(other.DzialkaId) &&
            //       PodmiotId.Equals(other.PodmiotId) &&
            //       RodzajInnegoPrawaSloId.Equals(other.RodzajInnegoPrawaSloId) &&
            //       TransK_Id.Equals(other.TransK_Id) &&
            //       TransS_Id.Equals(other.TransS_Id) &&
            //       DataObowOd.Equals(other.DataObowOd) &&
            //       DataObowDo.Equals(other.DataObowDo) &&
            //       string.Equals(ProtPrzejkNr, other.ProtPrzejkNr) &&
            //       ProtPrzejData.Equals(other.ProtPrzejData) &&
            //       string.Equals(ProtPrzejScan, other.ProtPrzejScan) &&
            //       string.Equals(ProtZwrotNr, other.ProtZwrotNr) &&
            //       ProtZwrotData.Equals(other.ProtZwrotData) &&
            //       string.Equals(ProtZwrotScan, other.ProtZwrotScan) &&
            //       wizjaTerPrzek.Equals(other.wizjaTerPrzek) &&
            //       wizjaTerZwrot.Equals(other.wizjaTerZwrot) &&
            //       CelNabyciaId.Equals(other.CelNabyciaId) &&
            //       string.Equals(WarunkiRealizacji, other.WarunkiRealizacji) &&
            //       PlatnoscInnePrawa.Equals(other.PlatnoscInnePrawa);
            ////DecyzjeAdministracyjneId.Equals(other.DecyzjeAdministracyjneId);



            bool a = InnePrawaId.Equals(other.InnePrawaId) &&
                     DzialkaId.Equals(other.DzialkaId) &&
                     PodmiotId.Equals(other.PodmiotId) &&
                     RodzajInnegoPrawaSloId.Equals(other.RodzajInnegoPrawaSloId) &&
                     TransK_Id.Equals(other.TransK_Id) &&
                     TransS_Id.Equals(other.TransS_Id) &&
                     DataObowOd.Equals(other.DataObowOd) &&
                     DataObowDo.Equals(other.DataObowDo) &&
                     string.Equals(ProtPrzejkNr, other.ProtPrzejkNr) &&
                     ProtPrzejData.Equals(other.ProtPrzejData) &&
                     string.Equals(ProtPrzejScan, other.ProtPrzejScan) &&
                     string.Equals(ProtZwrotNr, other.ProtZwrotNr) &&
                     ProtZwrotData.Equals(other.ProtZwrotData) &&
                     string.Equals(ProtZwrotScan, other.ProtZwrotScan) &&
                     wizjaTerPrzek.Equals(other.wizjaTerPrzek) &&
                     wizjaTerZwrot.Equals(other.wizjaTerZwrot) &&
                     CelNabyciaId.Equals(other.CelNabyciaId) &&
                     string.Equals(WarunkiRealizacji, other.WarunkiRealizacji) &&
                     PlatnoscInnePrawa.Equals(other.PlatnoscInnePrawa);

            return(a);
        }
 public InnePrawa(IInnePrawa inne)
 {
     InnePrawaId              = inne.InnePrawaId;
     DzialkaId                = inne.DzialkaId;
     PodmiotId                = inne.PodmiotId;
     RodzajInnegoPrawaSloId   = inne.RodzajInnegoPrawaSloId;
     DecyzjeAdministracyjneId = inne.DecyzjeAdministracyjneId;
     DataObowOd               = inne.DataObowOd;
     DataObowDo               = inne.DataObowDo;
     ProtPrzejkNr             = inne.ProtPrzejkNr;
     ProtPrzejData            = inne.ProtPrzejData;
     ProtZwrotNr              = inne.ProtZwrotNr;
     ProtZwrotData            = inne.ProtZwrotData;
     wizjaTerPrzek            = inne.wizjaTerPrzek;
     wizjaTerZwrot            = inne.wizjaTerZwrot;
     CelNabyciaId             = inne.CelNabyciaId;
     WarunkiRealizacji        = inne.WarunkiRealizacji;
     TransK_Id                = inne.TransK_Id;
     TransS_Id                = inne.TransS_Id;
     PlatnoscInnePrawa        = inne.PlatnoscInnePrawa.clone();
 }