public object Select(SmartOcr smartOcr) { using (var context = new SMARTEntities()) { return(context.SmartOcrByRequestId_Select(smartOcr.RequestId).FirstOrDefault()); } }
public void Insert(SmartOcr smartOcr) { using (var context = new SMARTEntities()) { context.SmartOcr_InsertUpdate("I", smartOcr.ServiceName, smartOcr.MessageId, smartOcr.RequestId, smartOcr.Message, smartOcr.Status); } }
public void Update(SmartRpa smartRpa) { using (var context = new SMARTEntities()) { context.SmartRpa_InsertUpdate("U", smartRpa.ServiceName, smartRpa.MessageId, smartRpa.RequestId, smartRpa.Message, smartRpa.Status); } }