private Card FillCard (Schedule currentSchedule, string cardText)
 {
     Card newCard = new Card();
     newCard.Date = currentSchedule.Date;
     newCard.Disease = cardText;
     newCard.Pet = currentSchedule.Pet;
     return newCard;
 }
		private void detach_Card(Card entity)
		{
			this.SendPropertyChanging();
			entity.Pet1 = null;
		}
		private void attach_Card(Card entity)
		{
			this.SendPropertyChanging();
			entity.Pet1 = this;
		}
 partial void DeleteCard(Card instance);
 partial void UpdateCard(Card instance);
 partial void InsertCard(Card instance);
 private void SaveCard(Card newCard)
 {
     _repository.AddCard(newCard);
 }