示例#1
0
 /// <summary>引发Changed事件</summary>
 protected virtual void OnChanged(DbChangeEventArgs e)
 {
     if (this.Changed != null)
     {
         this.Changed.Invoke(this, e);
     }
 }
示例#2
0
 /// <summary>引发Deleted事件</summary>
 protected void OnDeleted(DbChangeEventArgs e)
 {
     if (this.Deleted != null)
     {
         this.Deleted.Invoke(this, e);
     }
 }