2011-03-05 46 views

回答

0

剛剛從終端在該文件位於獲取命令的列表中的目錄運行./odatagen

Usage: odatagen [/uri=<data service Uri> | /metadata=<service metadata file>] [/out=<output file path>][/auth=windows|acs /u=username /p=password [/sn=servicenamespace /at=applies_to]][/ups=yes|no] 

基本用法可能是:

./odatagen /uri=https://192.168.138.137/Services/OData.svc /out=/Users/yourUser/Desktop/ 

這將生成實體文件在指定的目錄中。

ODataSDK還包含一個文檔集。