public CustomerDemographicsProxyStub CustomerDemographics_GetByPrimaryKey(System.String customerTypeID) { CustomerDemographics obj = new CustomerDemographics(); if (obj.LoadByPrimaryKey(customerTypeID)) { return obj; } return null; }
public jsResponse<CustomerDemographicsCollection, CustomerDemographics> CustomerDemographics_LoadByPrimaryKey(System.String customerTypeID) { jsResponse<CustomerDemographicsCollection, CustomerDemographics> response = new jsResponse<CustomerDemographicsCollection, CustomerDemographics>(); try { CustomerDemographics entity = new CustomerDemographics(); if (entity.LoadByPrimaryKey(customerTypeID)) { response.entity = entity; } } catch (Exception ex) { response.exception = ex.Message; } return response; }