示例#1
0
        public static Int32 UpdateIncident(Int32 incidentId, Int32 contactId, Int32 agentId, Int32 statusId, string subject)
        {
            IncidentDSTableAdapter ta = new IncidentDSTableAdapter();

            ta.Connection.ConnectionString = UcConnection.ConnectionString;


            System.Nullable <Int32> contact_id = Helper.ResolveEmptyInt(contactId);
            System.Nullable <Int32> agent_id   = Helper.ResolveEmptyInt(agentId);



            return(ta.Update(incidentId, contact_id, agent_id, statusId, subject));
        }