1、查看php-fpm是否开启 命令:ps -ef|grep php 结果如下: 这是没有开启。 2、查看php-fpm的位置 命令:whereis php-fpm 3、开启php-fpm 命令:/usr/local/bin/php-fpm 4、再次输入命令ps -ef|grep php,查看是否已 ...
分类:
Web程序 时间:
2019-11-29 21:02:21
阅读次数:
262
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
using System; using TestDapper.Common; using Dapper; using System.Data.SqlClient; using System.Collections.Generic; using System.Linq; using System.Re... ...
分类:
移动开发 时间:
2019-11-28 19:30:36
阅读次数:
226
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public part... ...
分类:
Web程序 时间:
2019-11-28 11:48:24
阅读次数:
81
/* * 保存原理 * 将LISTVIEW视为一行一行的字符串 * 将所有的行合并成一个字符串 然后保存为TXT文件 * * 而每行又是由 几个 子项组成,先把子项连接成字符串 * 2019年11月27日 18:03:17 */ ...
分类:
其他好文 时间:
2019-11-27 18:48:58
阅读次数:
82
一、EF的左连接 在EF中,当在dbset使用join关联多表查询时,连接查询的表如果没有建立相应的外键关系时,EF生成的SQL语句是inner join(内联),对于inner join,有所了解的同学都知道,很多时候这并不是我们的本意,实例如下: var list = from o in con ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Syste... ...
分类:
其他好文 时间:
2019-11-27 12:05:27
阅读次数:
72
EntityFramework Core 理解 DbContext :数据库 DbSet: 数据库表 Model : 数据行 IQueryable<Model> 查询结果集合 Lamada :where 条件 Selet : 查询制定的列信息 Count :符合条件的数量 Add :Insert R ...
分类:
其他好文 时间:
2019-11-26 23:00:58
阅读次数:
118
最近比较闲,年底了,项目也进入尾声;每天就是维护一下系统,整理整理文档,整理知识点,这样才觉得有点意思; 问题 在使用Linq的where()查询的时候,不知道大家是怎么动态组装多个查询条件时,是怎么做的?我是这样做的,请看下面代码; 方法一: 1.1 Expression的扩展类 1.2 实例化代 ...
分类:
其他好文 时间:
2019-11-26 19:22:01
阅读次数:
370
第一个应用程序+Model+EF 添加 小试牛刀 今天 也试了试 边说边写,但是 有时候 编辑器不给力,或者网路不给力,倒是浪费大家时间,所以今天录制完了就裁切了 部分视频,如果有不清楚的地方,可以留言给我。 初学者 都喜欢看到东西 这样 开发才会有成就感我也一样, 链接: https://pan. ...
分类:
其他好文 时间:
2019-11-25 22:07:00
阅读次数:
116