Пример #1
0
 public int InsertDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate)
 {
     try
     {
         return(_AD.InsertDocumentsAdjxEstimate(pDocumentsAdjxEstimate));
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #2
0
 public bool UpdateDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate)
 {
     try
     {
         _AD.UpdateDocumentsAdjxEstimate(pDocumentsAdjxEstimate);
         return(true);
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #3
0
        public void UpdateDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate)
        {
            string sql = @"[spUpdateDocumentsAdjxEstimate] '{0}', '{1}', '{2}', '{3}', '{4}'";

            sql = string.Format(sql, pDocumentsAdjxEstimate.Id, pDocumentsAdjxEstimate.DocumentsAdj.Id, pDocumentsAdjxEstimate.Estimate.Id, pDocumentsAdjxEstimate.Status.Id,
                                pDocumentsAdjxEstimate.ModificationUser);
            try
            {
                _MB.EjecutarSQL(_CN, sql);
            }
            catch (Exception err)
            {
                throw err;
            }
        }
Пример #4
0
        public int InsertDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate)
        {
            string sql = @"[spInsertDocumentsAdjxEstimate] '{0}', '{1}', '{2}', '{3}', '{4}'";

            sql = string.Format(sql, pDocumentsAdjxEstimate.DocumentsAdj.Id, pDocumentsAdjxEstimate.Estimate.Id, pDocumentsAdjxEstimate.Status.Id,
                                pDocumentsAdjxEstimate.CreatorUser, pDocumentsAdjxEstimate.ModificationUser);
            try
            {
                return(_MB.EjecutarSQL(_CN, sql));
            }
            catch (Exception err)
            {
                throw err;
            }
        }
Пример #5
0
 public object DeleteDocumentsAdjxEstimate(DocumentsAdjxEstimate dDocumentsAdjxEstimate)
 {
     throw new NotImplementedException();
 }