OData SDK for PHP

码农软件 · 软件分类 · OData开发包 · 2019-04-02 14:28:03

软件介绍

OData 的 PHP 开发包,示例代码:

/* connect to the OData service  */
   $svc = new NorthwindEntities(NORTHWIND_SERVICE_URL);
     
/* get the list of Customers in the USA, for each customer get the list of Orders */
    $query = $svc->Customers()
                 ->filter("Country eq 'USA'")
                 ->Expand('Orders');
    $customerResponse = $query->Execute();

/* get only CustomerID and CustomerName */
    $query = $svc->Customers()
                 ->filter("Country eq 'USA'")
                 ->Select('CustomerID, CustomerName');
    $customerResponse = $query->Execute();

/* create a new customer */
    $customer = Customers::CreateCustomers('channel9', 'CHAN9');
    $proxy->AddToCustomers($customer); 

/* commit the change on the server */        
    $proxy->SaveChanges();

本文地址:https://www.codercto.com/soft/d/2701.html

信息论基础

信息论基础

[美] Thomas M.Cover,Joy A.Thomas / 机械工业出版社 / 2005-5 / 56.00元

信息论基础,ISBN:9787111162452,作者:(美)Thomas M.Cover,(美)Joy A.Thomas著;阮吉寿,张华译一起来看看 《信息论基础》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具