我有一个SSRS报告的contract/UIBuilder类。我想使用相同的Contaract/UIBuilder类在excel中生成数据。
我偶然发现了http://www.artofcreation.be/2011/08/22/ax2012-sysoperation-part-1-data-contracts-and-service-operations/帖子。我发现其中使用了服务类。
我发现了一些使用服务类和一些不使用服务类的示例。
使用服务真的很重要吗?
另外,使用它的好处是什么?
发布于 2013-04-08 20:08:54
How to Use a Report Data Provider Class in a Report
通过在报表中使用SRSReportParameterAttribute属性指定相同的合约,可以在多个报表中使用该合约:
[
SRSReportQueryAttribute('Cust'),
SRSReportParameterAttribute(classstr(SrsRDPContractSample))
]
public class SrsRdpSampleClass extends SRSReportDataProviderBase
{
TmpCustTableSample tmpCust;
}发布于 2014-08-02 04:44:51
我将跳过第一个问题,因为你应该试一试,你就会得到关于它是否有效的答案……
第二个问题,你已经有了一篇很好的博客文章--但也可以看看:
http://daxmusings.codecrib.com/2011/08/from-runbase-to-sysoperation-business.html
当然还有ms链接:
http://msdn.microsoft.com/en-us/library/gg862488.aspx http://www.microsoft.com/en-us/download/details.aspx?id=29215
亮点包括:
contract和logic
中的
https://stackoverflow.com/questions/15878002
复制相似问题