상속: INotifyPropertyChanging, INotifyPropertyChanged
예제 #1
0
파일: Feed.cs 프로젝트: friism/folketsting
        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;
 }