Transparent 属性 控制是否透明
cds 统计字段 用 count 忽略null值的统计
数据库有异常时候,程序中可以用如下代码,重新触发改异常
on E:Exception do
begin
raise Exception.Create(E.Message);
end;
uniquery 执行Execute,有数据集可以返回数据集。
begin
UniQuery1.Fields.Clear;
UniQuery1.Execute;
caption := inttostr(UniQuery1.Fields.Count);
if UniQuery1.Fields.Count>0 then
begin
if not UniQuery1.IsEmpty then ShowMessage(UniQuery1.Fields[0].asstring);
end;
end;
http://bbs.2ccc.com/topic.asp?topicid=396370 --回调类,用于客户端调用服务器方法,需要服务器回复。
广播--服务器主发(DataSnap服务器如何得到客户端的IP和端口http://hi.baidu.com/kzx163/item/df3be73b808a438ff4e4ad55)。
XE的回叫,用于服务器向客户端,客户端向客户端(也是通过服务器)推送消息,
对现在的业务来说,回调的列子:行校验,页面数据修改方案,单据审核和反审核;回调的概念:执行一个DML语句块,返回内部可能的select 数据
(返回一个数据集的json)
页面数据修改方案,行校验