Selasa, 26 Juli 2011

SysQuery Class

SpAXrtaaaaaaann!! ...


i want to talk about SysQuery ...
Goose this class is very usefull to make Parameter value u dont have to worried about type of the paramter
its effected to String,Enum,Int,Real etc ...

n this is a sample of using SysQuery

for a range like ...range date (ex.fromdate to date)
element.query().dataSourceName('PurchLine').addRange(fieldnum(PurchLine, DeliveryDate)).value(sysQuery::range(fromdate,todate));

for one value like String,Int,Real
element.query().dataSourceName('PurchLine').addRange(fieldnum(PurchLine, DeliveryDate)).value(sysQuery::value(EmployeeId));

that's alll

you can try it at home ...

Tidak ada komentar:

Posting Komentar

Erorr CS1963 - An expression tree may not contain a dynamic operation.

Kali ini saya mendapatkan erorr dengan code CS1963, padahal sebelumnya saya sudah mendefinisikan 'var item in Model' di @foreach(var...