コード例 #1
0
 static public void IdPositive(this IObjectWithId _this)
 {
     if (!(_this.Id > 0))
     {
         throw new Exception();
     }
 }
コード例 #2
0
 protected override void DeleteObject(IObjectWithId obj)
 {
     if (obj != null)
     {
         base.DeleteObject(obj);
         View.RefreshData();
     }
 }