Пример #1
0
 private void EnableConstraints(bool enabled)
 {
     if (_options.TableOptions.DisableConstraints)
     {
         if (_dialectCaps.EnableConstraintsPerTable)
         {
             _tables.ForEach(x => _dmp.EnableConstraints(x.FullName, enabled));
         }
         else
         {
             _tables.ForEach(x => _dmp.EnableConstraints(null, enabled));
         }
     }
 }