Note Before proceeding, take a moment to review the Inherit from the Business Class Library Class (EF) lesson. 注意在继续之前,请花点时间复习从商务舱库类 (EF) 课程继承。 Before ...
分类:
其他好文 时间:
2019-12-11 12:44:11
阅读次数:
108
1.新建一个控制台应用程序 2.右键引用--管理NuGet程序包,安装如下几项 3.打开App.config文件,加入如下代码: <connectionStrings> <add name="conn" connectionString="server=localhost;port=3306;uid ...
分类:
其他好文 时间:
2019-12-11 09:17:45
阅读次数:
94
数据结构 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 拼图 { /// <summary> ...
分类:
编程语言 时间:
2019-12-09 23:15:11
阅读次数:
171
进入Tomcat下的bin目录cd/user/local/tomcat/bin关闭tomcat./shutdown.sh查看tomcat是否关闭ps -ef|grep java显示以下信息,则Tomcat还未关闭root 7010 1 0 Apr19 ? 00:30:13 /usr/local/ja ...
分类:
系统相关 时间:
2019-12-09 23:02:18
阅读次数:
96
crontab:定时任务的守护进程,精确到分,设计秒的我们一般写脚本 -->相当于闹钟 日志文件: ll /var/log/cron* 编辑文件: vim /etc/crontab 进程:ps -ef | grep crond ==> /etc/init.d/crond restart 作用:定时备 ...
分类:
系统相关 时间:
2019-12-07 19:29:13
阅读次数:
143
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Threading; namespace WindowsFormsApplicati ...
# 停止redis service redis stop # 查看redis运行状态 service redis status # 查看redis进程 ps -ef | grep redis 4.设置开机启动 systemctl start redis 5.连接redis # 进入本机redis r ...
分类:
系统相关 时间:
2019-12-06 21:42:03
阅读次数:
217
Update() GetSingleResult() GetReader() 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Da ...
分类:
数据库 时间:
2019-12-06 13:40:29
阅读次数:
108
1.利用进程名获取进程号(以syslog为例) ps -ef | grep syslog | grep -v "grep" | awk '{print $2}' 2.利用进程号查看该进程下的线程 ps -eLf | grep 1381 | grep -v "grep" 第四列是线程号 ps -T - ...
分类:
编程语言 时间:
2019-12-06 13:39:56
阅读次数:
421
public List<SongList> SongLists(int pageIndex, int pageSize, out int totaPage) { var quaryable = Dataslot.MusicContexts.SongList.AsQueryable(); quarya ...
分类:
其他好文 时间:
2019-12-05 20:31:55
阅读次数:
128