public static int SaveTo(this InMemoryRecord record, SimpleDataWebServiceClient webServiceClient) { return webServiceClient.AddExistingRecord(record); }
protected int AddExisingRecord(InMemoryRecord record) { return(webServiceClient.AddExistingRecord(record)); }
public static int SaveTo(this InMemoryRecord record, SimpleDataWebServiceClient webServiceClient) { return(webServiceClient.AddExistingRecord(record)); }
protected override void OnSetUp() { base.OnSetUp(); SimpleDataWebServiceClient client = new SimpleDataWebServiceClient(module, location) { GetViewFunc = ProductionViews.StandardView }; id = client.AddExistingRecord(ProductionRecords.NewRecord()); DataWebServiceFactory.Factory = () => client; }