Example #1
0
 public void Insert(SmartOcr smartOcr)
 {
     using (var context = new SMARTEntities())
     {
         context.SmartOcr_InsertUpdate("I", smartOcr.ServiceName, smartOcr.MessageId, smartOcr.RequestId, smartOcr.Message, smartOcr.Status);
     }
 }
Example #2
0
 public object Select(SmartOcr smartOcr)
 {
     using (var context = new SMARTEntities())
     {
         return(context.SmartOcrByRequestId_Select(smartOcr.RequestId).FirstOrDefault());
     }
 }