partial void UpdateResource(Resource instance);
 partial void DeleteResource(Resource instance);
 partial void InsertResource(Resource instance);
		private void detach_Resource(Resource entity)
		{
			this.SendPropertyChanging();
			entity.Contact = null;
		}
		private void attach_Resource(Resource entity)
		{
			this.SendPropertyChanging();
			entity.Contact = this;
		}
		private void detach_Resource(Resource entity)
		{
			this.SendPropertyChanging();
			entity.Location = null;
		}
		private void attach_Resource(Resource entity)
		{
			this.SendPropertyChanging();
			entity.Location = this;
		}