bool IEquatable <IWladanie> .Equals(IWladanie other)
 {
     return(WladanieId.Equals(other.WladanieId) &&
            DzialkaId.Equals(other.DzialkaId) &&
            PodmiotId.Equals(other.PodmiotId) &&
            FormaWladaniaSloId.Equals(other.FormaWladaniaSloId) &&
            TransK_Id.Equals(other.TransK_Id) &&
            TransS_Id.Equals(other.TransS_Id) &&
            string.Equals(Udzial, other.Udzial) &&
            DataOdbOd.Equals(other.DataOdbOd) &&
            DataOdbDo.Equals(other.DataOdbDo) &&
            string.Equals(NrProtPrzejecia, other.NrProtPrzejecia) &&
            string.Equals(DataProtPrzej, other.DataProtPrzej) &&
            string.Equals(CelNabyciaId, other.CelNabyciaId) &&
            string.Equals(Scan, other.Scan));
 }
        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);
        }