castle-validators

Is there a way to disable Castle Active Record validation for an nhibernate session / active record scope

浪子不回头ぞ 提交于 2020-01-03 03:42:22
问题 Is there a way to disable Active Record validation for an nhibernate session / active record scope? I have a scenario whereby we are performing deletion of a large number of items - and in some cases customers have data in their database that will not pass validation (it was captured prior to new validation rules being introduced, or due to manual manipulation of the database etc.) When deleting, due the way the database is constructed, some validation checks on existing entities occur, and