Ejemplo n.º 1
0
 internal static int UpdateInfo(Flow info)
 {
     return(SQLHelper.ProcNoQuery("usp_FlowUpdate", new SqlParameter("@id", info.Id), new SqlParameter("@formname", info.FormName), new SqlParameter("@tid", info.TemplateId), new SqlParameter("@flow", info.FlowFlow)));
 }
Ejemplo n.º 2
0
 internal static int AddInfo(Flow info)
 {
     return(SQLHelper.ExecuteNonQuery("insert into T_flow(formname, templateid, flow) output inserted.id values(@formname, @templateid, @flow)", info.FormName, info.TemplateId, info.FlowFlow));
 }