在这种情况下,例外应该是完全透明的业务代码。
In that case the exceptions should be fully transparent for your business code.
当然,我们必须以适当的数据访问代码来表达这种业务请求。
Of course, we had to express this business request in appropriate data access code.
业务用户可以在一个他们熟悉的工具中更新和管理代码清单数据。
Business users can update and manage code list data in a tool they know well.
为您的业务流程创建部署代码。
因此,本文有一个启动器应用程序,为您提供了业务逻辑代码。
Therefore, we include a starter application that has the business logic coded for you.
有时候同时具有这两种接口,并将UI、代码和业务逻辑分离开了。
Sometimes they have both and separate the UI, code from the business logic.
这导致业务实现经常和数据存取以及转换的代码纠缠在一起。
As a result business implementations are often intertwined with data access and transformation code.
但是如果业务模型改变,这些代码需要重新生成。
But if the business model changes, the code has to be re-generated.
通过将规则置于应用程序代码之外,业务专家能够定义和管理决策逻辑。
By externalizing rules from the application code, business experts can define and manage decision logic.
下一篇文章讨论一个完整的业务场景,包含完整的代码。
The next article discusses a complete business scenario that will be fully coded.
以下代码示例使用业务对象类。
因此代码块与业务操作之间存在多对多的关系。
So there is a many-to-many relationship between code blocks and business operations.
编辑生成的代码并运行程序的业务逻辑。
Edit the generated code and implement the business logic of the application.
BPEL业务流程的样本代码在下载部分。
The sample code for the BPEL business process is included in the Download section.
代码样本1 -启动业务流程实例。
业务逻辑与技术代码缠绕在一起。
重构现有代码满足业务目标,也是由上下文环境来驱动的。
Refactoring existing code to meet business goals is also context driven. Consider.
分解业务逻辑和UI代码。
将执行业务逻辑所需的代码添加到execute方法中。
You add the code required to perform the business logic to the execute method.
不过,代码示例还适用于“Inline Task”(在业务流程内定义)。
However, the code sample applies to Inline Task (defined within a business process) as well.
从“业务”到“代码”。
软代码(Soft code):在配置文件里保存业务逻辑而不是在代码中
Soft code: Storing business logic in configuration files rather than source code[4]
第二个内部函数再将股票代码和股价传递给业务规则函数!
The second inner function applies the ticker and price to the business rule function!
这意味着你不写你的业务对象的数据访问代码。
That means that you do not write data access code for your business objects.
第二点直接的收益就是我的代码可以更加关注于业务概念。
The second immediate benefit was that my code became more focused on business concerns.
第二点直接的收益就是我的代码可以更加关注于业务概念。
The second immediate benefit was that my code became more focused on business concerns.
应用推荐