/// <summary>
 /// Updates this instance.
 /// </summary>
 /// <exception cref="System.ArgumentNullException">Element</exception>
 public void Update(string siteURL)
 {
     using (Entities m_Context = new Entities(siteURL))
     {
         if (base.Element == null)
         {
             throw new ArgumentNullException("Element");
         }
         Milestone _ms = Milestone.GetAtIndex <Milestone>(m_Context.Milestone, Element.Identyfikator.Value);
         Element.Update(m_Context);
         m_Context.SubmitChanges();
     }
 }
 /// <summary>
 /// Moves the specified target.
 /// </summary>
 /// <param name="target">The target.</param>
 /// <param name="siteURL">The site URL.</param>
 /// <exception cref="System.ArgumentNullException">Element</exception>
 public void Move(IMilestoneWrapper target, string siteURL)
 {
     using (Entities m_Context = new Entities(siteURL))
     {
         if (base.Element == null)
         {
             throw new ArgumentNullException("Element");
         }
         Milestone _source = Milestone.GetAtIndex <Milestone>(m_Context.Milestone, Element.Identyfikator.Value);
         Milestone _target = Milestone.GetAtIndex <Milestone>(m_Context.Milestone, ((MilestoneWrapper)target).Element.Identyfikator.Value);
         _source.Move(m_Context, _target);
         m_Context.SubmitChanges();
     }
 }