服务插件中什么提示信息写在哪里
2,951次浏览
编辑于2014年06月09日 15:34:59
public override void BeginOperationTransaction(BeginOperationTransactionArgs e)
{
if ((e.DataEntitys != null) && e.DataEntitys.Count() > 0)
{
if (e.DataEntitys.Length > 0)
{
for (int i = 0; i < e.DataEntitys.Length; i++)
{
条件。。。。。。。。
{
this.OperationResult.OperateResult[i].Message += "错误信息!"
}
}}
}
这样的话不行。那什么样添加到结果集的提示中
{
if ((e.DataEntitys != null) && e.DataEntitys.Count
{
if (e.DataEntitys.Length > 0)
{
for (int i = 0; i < e.DataEntitys.Length; i++)
{
条件。。。。。。。。
{
this.OperationResult.OperateResult[i].Message += "错误信息!"
}
}}
}
这样的话不行。那什么样添加到结果集的提示中
推荐阅读