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); } }
public static int AddMD5Flow(GL.Data.Model.MD5Flow model) { return(RoleDAL.AddMD5Flow(model)); }