partial void DeletePerson(Person instance);
 partial void UpdatePerson(Person instance);
 partial void InsertPerson(Person instance);
		private void detach_Persons(Person entity)
		{
			this.SendPropertyChanging();
			entity.Item = null;
		}
		private void attach_Persons(Person entity)
		{
			this.SendPropertyChanging();
			entity.Item = this;
		}
    protected void SavePeople(EntitySet<Person> people, Collection<SyndicationPerson> collection,
      string personType, int itemKey)
    {
      foreach (SyndicationPerson person in collection)
      {
        Person p = new Person()
        {
          ParentKey = itemKey,
          Name = person.Name,
          Uri = person.Uri,
          Email = person.Email,
          Type = personType
        };

        people.Add(p);
        dc.Persons.InsertOnSubmit(p);
        dc.SubmitChanges();

        //add attributes and elements to people
        SaveAttributes(p.Attributes, person.AttributeExtensions, p.PersonKey);
        SaveElements(p.Elements, person.ElementExtensions, p.PersonKey);
      }
    }