Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 private void detach_ProposedLaws(ProposedLaw entity)
 {
     this.SendPropertyChanging();
     entity.Politician = null;
 }
Exemplo n.º 3
0
 partial void DeleteProposedLaw(ProposedLaw instance);
Exemplo n.º 4
0
 partial void UpdateProposedLaw(ProposedLaw instance);
Exemplo n.º 5
0
 partial void InsertProposedLaw(ProposedLaw instance);
Exemplo n.º 6
0
 private void attach_ProposedLaws(ProposedLaw entity)
 {
     this.SendPropertyChanging();
     entity.Law = this;
 }