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