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