예제 #1
0
 public int AddConfig(t_EE_enTypeConfig model)
 {
     try
     {
         return(_dbFactory.typeconfig.AddConfig(model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
        public int AddConfig(t_EE_enTypeConfig model)
        {
            string sql = $"insert into t_EE_enTypeConfig(UID,UserID,CollTypeID,EnerUserTypeID) values({model.UID},{model.UserID},{model.CollTypeID},{model.EnerUserTypeID})";

            return(ExecuteSqlCommand(sql));
        }