public int Insert(HRPaidTimeOffDataContext db, string objectName, int recordId, string propertyName, string oldValue, string newValue, byte auditType, int insertENTUserAccountId) { int?eNTAuditId = 0; db.ENTAuditInsert(ref eNTAuditId, objectName, recordId, propertyName, oldValue, newValue, auditType, insertENTUserAccountId); return(Convert.ToInt32(eNTAuditId)); }