Exemplo n.º 1
0
 /// <summary>
 /// 接受调用此方法之前UIModel的变化
 /// </summary>
 /// <param name="paramPropertyName">UIModel中的属性名</param>
 public void AcceptUIModelChanges(string paramPropertyName)
 {
     NewUIModel = this.DetailDS;
     if (OrginalUIModel == null)
     {
         OrginalUIModel = Activator.CreateInstance <UIModelType>();
     }
     _bll.CopyModelByPropertyName(this.DetailDS, OrginalUIModel, paramPropertyName);
 }