public void Update(Metro_iLink iLink)
        {
            var dbEntry = _context.Metro_iLinks.Single(x => x.ID == iLink.ID);

            dbEntry.BackLinkTarget = iLink.BackLinkTarget;
            dbEntry.BackLinkTitle = iLink.BackLinkTitle;
            dbEntry.BackLinkURL = iLink.BackLinkURL;
            dbEntry.ClientLogoAltText = iLink.ClientLogoAltText;
            dbEntry.ClientLogoGraphicLocation = iLink.ClientLogoGraphicLocation;
            dbEntry.ClientLogoLinkURL = iLink.ClientLogoLinkURL;
            dbEntry.ClientLogoTargetWindow = iLink.ClientLogoTargetWindow;
            dbEntry.FontSizePx = iLink.FontSizePx;
            dbEntry.HomeSearchText = iLink.HomeSearchText;
            dbEntry.HomeSearchURL = iLink.HomeSearchURL;
            dbEntry.OriginationPage = iLink.OriginationPage;
            dbEntry.OriginationPageTarget = iLink.OriginationPageTarget;
            dbEntry.PageBGColor = iLink.PageBGColor;
            dbEntry.PageLinkColor = iLink.PageLinkColor;
            dbEntry.PageTextColor = iLink.PageTextColor;
            dbEntry.ProductLogoAltText = iLink.ProductLogoAltText;
            dbEntry.ProductLogoGraphicLocation = iLink.ProductLogoGraphicLocation;
            dbEntry.ProductLogoLinkURL = iLink.ProductLogoLinkURL;
            dbEntry.ProductLogoTargetWindow = iLink.ProductLogoTargetWindow;
            dbEntry.SEOMetaDesc = iLink.SEOMetaDesc;
            dbEntry.SEOMetaKeys = iLink.SEOMetaKeys;
            dbEntry.HomeSearchLabelText = iLink.HomeSearchLabelText;

            _context.SubmitChanges();
        }
 partial void DeleteMetro_iLink(Metro_iLink instance);
 partial void UpdateMetro_iLink(Metro_iLink instance);
 partial void InsertMetro_iLink(Metro_iLink instance);
		private void detach_Metro_iLinks(Metro_iLink entity)
		{
			this.SendPropertyChanging();
			entity.Client = null;
		}