Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
Example #1
0
        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);
        }
Example #2
0
 partial void DeleteSpeaker(Speaker instance);
Example #3
0
 partial void UpdateSpeaker(Speaker instance);
Example #4
0
 partial void InsertSpeaker(Speaker instance);
Example #5
0
 private void detach_Speakers(Speaker entity)
 {
     this.SendPropertyChanging();
     entity.Politician = null;
 }
Example #6
0
 private void attach_Speakers(Speaker entity)
 {
     this.SendPropertyChanging();
     entity.Law = this;
 }