'宣言
Sub UpdateTableData( _ ByVal tableName As String, _ ByVal primaryKey As ColumnValuePair, _ ByVal updateValues As Dictionary(Of String,Object) _ )
void UpdateTableData( string tableName, ColumnValuePair primaryKey, Dictionary<string,object> updateValues )
public class SampleApi : ForguncyApi { [Post] public void UpdateDataSample() { StreamReader reader = new StreamReader(this.Context.Request.Body); string message = reader.ReadToEnd(); UpdateObj updateData = JsonConvert.DeserializeObject<UpdateObj>(message); var targetRecord = new ColumnValuePair() { ColumnName = "ID", Value = updateData.ID }; this.DataAccess.UpdateTableData("SampleTable1", targetRecord, updateData.UpdateData); } }