Наследование: INotifyPropertyChanging, INotifyPropertyChanged
Пример #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);
        }
Пример #2
0
 private void detach_ProposedLaws(ProposedLaw entity)
 {
     this.SendPropertyChanging();
     entity.Politician = null;
 }
Пример #3
0
 partial void DeleteProposedLaw(ProposedLaw instance);
Пример #4
0
 partial void UpdateProposedLaw(ProposedLaw instance);
Пример #5
0
 partial void InsertProposedLaw(ProposedLaw instance);
Пример #6
0
 private void attach_ProposedLaws(ProposedLaw entity)
 {
     this.SendPropertyChanging();
     entity.Law = this;
 }