public int InsertDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate) { try { return(_AD.InsertDocumentsAdjxEstimate(pDocumentsAdjxEstimate)); } catch (Exception ex) { throw; } }
public bool UpdateDocumentsAdjxEstimate(DocumentsAdjxEstimate pDocumentsAdjxEstimate) { try { _AD.UpdateDocumentsAdjxEstimate(pDocumentsAdjxEstimate); return(true); } catch (Exception ex) { throw; } }
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; } }
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; } }
public object DeleteDocumentsAdjxEstimate(DocumentsAdjxEstimate dDocumentsAdjxEstimate) { throw new NotImplementedException(); }