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