// 公用静态方法,插入一条记录 InsertLianXiXinXi public static bool InsertEntity(LianXiXinXiBusEntity obj) { LianXiXinXiInsert exec = new LianXiXinXiInsert(); try { exec.ReceiveParameter(obj); exec.ExecNoQuery(); return true; } catch (Exception ex) { //throw ex; return false; } finally { obj = null; } }
// 公用静态方法,插入一条记录 InsertLianXiXinXi public static bool InsertEntity(LianXiXinXiBusEntity obj) { LianXiXinXiInsert exec = new LianXiXinXiInsert(); try { exec.ReceiveParameter(obj); exec.ExecNoQuery(); return(true); } catch (Exception ex) { //throw ex; return(false); } finally { obj = null; } }