コード例 #1
0
        internal static int AddMD5Flow(GL.Data.Model.MD5Flow model)
        {
            using (var cn = new MySqlConnection(sqlconnectionString2))
            {
                cn.Open();
                int i = cn.Execute(@"INSERT INTO MD5Flow (userid,md5,CreateTime,Category) VALUES 
(@userid, @md5, @CreateTime, @Category)", model);
                cn.Close();
                return(i);
            }
        }
コード例 #2
0
 public static int AddMD5Flow(GL.Data.Model.MD5Flow model)
 {
     return(RoleDAL.AddMD5Flow(model));
 }