public void AssignTransactionID(string TransactionID) { MAHAITResponse t_NewResponse = new MAHAITResponse(); t_NewResponse.FieldName = "TRNID"; t_NewResponse.Action = "TRNID"; t_NewResponse.Message = TransactionID; ValidationResponse.Add(t_NewResponse); }
public void SendException(string Exception) { MAHAITResponse t_NewResponse = new MAHAITResponse(); t_NewResponse.FieldName = ""; t_NewResponse.Action = "EXCEPTION"; t_NewResponse.Message = Exception; HasErrors = true; ValidationResponse.Add(t_NewResponse); }
public void AssignValueToParent(string TableName, string ColumnName, string Value) { MAHAITResponse t_NewResponse = new MAHAITResponse(); t_NewResponse.FieldName = TableName + "__" + ColumnName; t_NewResponse.Action = "ASVTP"; t_NewResponse.Message = Value; ValidationResponse.Add(t_NewResponse); }
public void SendErrorMessage(string TableName, string ColumnName, string Message) { MAHAITResponse t_NewResponse = new MAHAITResponse(); t_NewResponse.FieldName = TableName + "__" + ColumnName; t_NewResponse.Action = "ERR"; t_NewResponse.Message = Message; HasErrors = true; ValidationResponse.Add(t_NewResponse); }