Ejemplo n.º 1
0
 public HttpCommand CreateUpdateCommand(string commandText, IDictionary<string, object> entryData, CommandContent entryContent, bool merge = false)
 {
     return new HttpCommand(merge ? RestVerbs.MERGE : RestVerbs.PUT, commandText, entryData, entryContent.ToString());
 }
Ejemplo n.º 2
0
 public HttpCommand CreateInsertCommand(string commandText, IDictionary<string, object> entryData, CommandContent entryContent)
 {
     return HttpCommand.Post(commandText, entryData, entryContent.ToString());
 }