using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Linq.Expressions; using ...
分类:
数据库 时间:
2020-02-23 19:53:14
阅读次数:
293
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks ...
分类:
其他好文 时间:
2020-02-23 19:50:00
阅读次数:
63
常用tamper脚本 apostrophemask.py适用数据库:ALL作用:将引号替换为utf-8,用于过滤单引号使用脚本前:tamper("1 AND '1'='1")使用脚本后:1 AND %EF%BC%871%EF%BC%87=%EF%BC%871 base64encode.py适用数据库 ...
分类:
数据库 时间:
2020-02-23 14:32:32
阅读次数:
103
一、引言 在前面的几篇文章中,我们主要讲解了TPL,主要是Task,然后还介绍了如何在ASP.NET MVC中使用异步方法,在这篇文章中,我们结合一个小的实例,使用ASP.NET MVC+EF,实现异步的增删改查。 二、功能实现 我们以学生为例,实现增删改查功能。 1、搭建UI层 我们这里使用ASP ...
分类:
Web程序 时间:
2020-02-23 09:58:47
阅读次数:
81
记录LINQ学习过程。 概要 LINQ是一种“语言集成”的查询表达式,使用LINQ可以智能提示和进行类型检查。C#里可以编写的LINQ查询有SQL数据库、XML文档、ADO.NET数据集、支持IEnumerable和IEnumerable的对象。使用LINQ,可以简单对数据源进行分组、排序、筛选。有 ...
分类:
其他好文 时间:
2020-02-22 22:26:50
阅读次数:
104
实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EmpPrj.Entity { public class y_EmployeeEntity { pu ...
分类:
Web程序 时间:
2020-02-22 21:43:00
阅读次数:
97
C#压缩图片不失真 using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; usin ...
jenkins构建重新部署时脚本: #!/bin/bash app=auth jar_pid=`ps -ef|grep -v grep | grep 'java -jar e-$app-controller-1.0-SNAPSHOT.jar'|awk '{ print $2 }'` echo $ja ...
分类:
系统相关 时间:
2020-02-20 18:43:44
阅读次数:
205
#!/bin/sh#ps-ef|grep$proc_name|grep-vgrep|awk‘{print$2}‘source/etc/profileproc_dir="/data/modules/kafka_2.12-1.1.1"#程序目录proc_name="kafka.Kafka"#进程名file_name="/data/lzm
分类:
系统相关 时间:
2020-02-19 12:53:09
阅读次数:
120
业务场景:客户需要根据过滤条件的不同显示不同的列。如下方式可以实现动态的列名。 using System;using System.Collections.Generic;using System.Linq;using System.Text;using Kingdee.BOS.Core.Repor ...
分类:
其他好文 时间:
2020-02-18 20:42:55
阅读次数:
99