public CustomersProxyStub Customers_GetByPrimaryKey(System.String customerID) { Customers obj = new Customers(); if (obj.LoadByPrimaryKey(customerID)) { return obj; } return null; }
public jsResponse<CustomersCollection, Customers> Customers_LoadByPrimaryKey(System.String customerID) { jsResponse<CustomersCollection, Customers> response = new jsResponse<CustomersCollection, Customers>(); try { Customers entity = new Customers(); if (entity.LoadByPrimaryKey(customerID)) { response.entity = entity; } } catch (Exception ex) { response.exception = ex.Message; } return response; }