Ejemplo n.º 1
0
 public int InsertDocumentsAdjxInvoice(DocumentsAdjxInvoice pDocumentsAdjxInvoice)
 {
     try
     {
         return(_AD.InsertDocumentsAdjxInvoice(pDocumentsAdjxInvoice));
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public bool UpdateDocumentsAdjxInvoice(DocumentsAdjxInvoice pDocumentsAdjxInvoice)
 {
     try
     {
         _AD.UpdateDocumentsAdjxInvoice(pDocumentsAdjxInvoice);
         return(true);
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
        public void UpdateDocumentsAdjxInvoice(DocumentsAdjxInvoice pDocumentsAdjxInvoice)
        {
            string sql = @"[spUpdateDocumentsAdjxInvoice] '{0}', '{1}', '{2}', '{3}', '{4}'";

            sql = string.Format(sql, pDocumentsAdjxInvoice.Id, pDocumentsAdjxInvoice.DocumentsAdj.Id, pDocumentsAdjxInvoice.Invoice.Id, pDocumentsAdjxInvoice.Status.Id,
                                pDocumentsAdjxInvoice.ModificationUser);
            try
            {
                _MB.EjecutarSQL(_CN, sql);
            }
            catch (Exception err)
            {
                throw err;
            }
        }
Ejemplo n.º 4
0
        public int InsertDocumentsAdjxInvoice(DocumentsAdjxInvoice pDocumentsAdjxInvoice)
        {
            string sql = @"[spInsertDocumentsAdjxInvoice] '{0}', '{1}', '{2}', '{3}', '{4}'";

            sql = string.Format(sql, pDocumentsAdjxInvoice.DocumentsAdj.Id, pDocumentsAdjxInvoice.Invoice.Id, pDocumentsAdjxInvoice.Status.Id,
                                pDocumentsAdjxInvoice.CreatorUser, pDocumentsAdjxInvoice.ModificationUser);
            try
            {
                return(_MB.EjecutarSQL(_CN, sql));
            }
            catch (Exception err)
            {
                throw err;
            }
        }
Ejemplo n.º 5
0
 public object DeleteDocumentsAdjxInvoice(DocumentsAdjxInvoice dDocumentsAdjxInvoice)
 {
     throw new NotImplementedException();
 }