public FeedEvent(ProposedLaw prop) { var thelaw = prop.Law; this.date = prop.Law.Proposed.Value; this.BodyText = thelaw.Summary.PresentText(200); this.ActionUrl = thelaw.DetailsLink(); this.ActionText = "Foreslog " + thelaw.ShortName.PresentText(35); }
private void detach_ProposedLaws(ProposedLaw entity) { this.SendPropertyChanging(); entity.Politician = null; }
partial void DeleteProposedLaw(ProposedLaw instance);
partial void UpdateProposedLaw(ProposedLaw instance);
partial void InsertProposedLaw(ProposedLaw instance);
private void attach_ProposedLaws(ProposedLaw entity) { this.SendPropertyChanging(); entity.Law = this; }