这能确保一个工作单元内任何符合资格的行都不会被其他应用程序进程更改,直至该工作单元完成。
It ensures that any qualifying row read during a unit of work is not changed by other application processes until the unit of work completes.
您可以对单元作出更改,以指示它的不同,例如对单元应用形式或者外观,但是这些更改都是很肤浅的;单元类型并没有得到更改。
You could make other changes to the unit to indicate its differences, such as applying a custom style or appearance to the unit, but these changes are all superficial; the unit type does not change.
如果只要更改代码即运行单元测试,您立即就能发现您所做的更改是否对系统造成了破坏。
If you run unit tests whenever you make changes to code, you'll find out immediately if your changes broke something.
应用推荐