protected override void onAfterSaving(DbContext context, InventoryInputDoc entity, BaseEntity parent = null, OPERATION_MODE mode = OPERATION_MODE.NONE) { if (mode == OPERATION_MODE.UPDATE) { } ///start:slot:afterSave<<<///end:slot:afterSave<<< }
protected override void onBeforeSaving(InventoryInputDoc entity, BaseEntity parent = null, OPERATION_MODE mode = OPERATION_MODE.NONE) { ///start:slot:beforeSave<<<///end:slot:beforeSave<<< }