public FeedEvent(Speaker speaker) { var thelaw = speaker.Law; this.date = speaker.Law.Proposed.Value; this.BodyText = thelaw.Summary.PresentText(200); this.ActionUrl = thelaw.DetailsLink(); this.ActionText = "Blev ordfører for " + thelaw.ShortName.PresentText(35); }
partial void DeleteSpeaker(Speaker instance);
partial void UpdateSpeaker(Speaker instance);
partial void InsertSpeaker(Speaker instance);
private void detach_Speakers(Speaker entity) { this.SendPropertyChanging(); entity.Politician = null; }
private void attach_Speakers(Speaker entity) { this.SendPropertyChanging(); entity.Law = this; }