public IsValidResponse Validate() { try { var service = new SqlRecordService(this); return(service.VerifyConnection()); } catch (Exception ex) { var response = new IsValidResponse(); response.AddInvalidReason("Error creating service: " + ex.DisplayString()); return(response); } }
public IsValidResponse Validate() { var service = new SqlRecordService(this); return(service.VerifyConnection()); }