原文:https://docs.microsoft.com/zh-cn/aspnet/core/data/ef-rp/intro?view=aspnetcore-3.1&tabs=visual-studio 作者:Tom Dykstra 和 Rick Anderson 本文是系列教程的第一篇,这些教... ...
分类:
Web程序 时间:
2020-09-24 00:04:50
阅读次数:
60
将特性插入,就是插入一个标志?然后再类typeof中存在一(字段?方法?)对多(特性) 当调用特性的方法的时候就是调用想对应类的 方法; using System; using System.Collections.Generic; using System.Linq; using System.T ...
分类:
其他好文 时间:
2020-09-18 01:20:53
阅读次数:
25
前期准备:安装微软Excel,需要调用excel类库,Microsoft.Excel XXX Object Library 1 sing System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.T ...
开发环境 编译器:VS2019 数据库:SqlServer 2019 运行环境 DotNet Core SDK(3.1.400) SqlServer迁移方式 依赖包 Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.SqlServ ...
分类:
数据库 时间:
2020-09-18 00:24:17
阅读次数:
38
早期对数据库进行操作 通过Ado.Net 操作数据库 需要操作sqlCommand/sqlConnection/adapter/datareader 如图 后来 基于面向对象的思想 出现了中间件ORM(对象关系映射) 实现了像对象一样操作数据库 如图 ...
分类:
其他好文 时间:
2020-09-17 22:52:55
阅读次数:
25
1.安装vsftpd 默认配置文件在 /etc/vsftpd/vsftpd.conf yum -y install vsftpd 2.启动 vsftpd 服务 systemctl start vsftpd.service ps -ef | grep vsftpd #查看 vsftpd 进程是否存在 ...
分类:
其他好文 时间:
2020-09-17 17:25:23
阅读次数:
32
测试窗体为: 直接上代码: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using ...
分类:
数据库 时间:
2020-09-17 12:31:54
阅读次数:
43
项目中,需要实现字体相关操作,收集了一些相关参数,可以引用的。 using System.Collections.Generic; using System.Drawing; using System.Drawing.Text; using System.Linq; using System.Net ...
分类:
其他好文 时间:
2020-09-15 21:20:52
阅读次数:
53
Linux下查看日志用到的常用命令 杀僵尸进程 部分程序员,肯定喜欢下面命令: ps -ef | grep java (先查java进程ID) kill -9 PID(生产环境谨慎使用) kill、killall、pkill命令的区别 kill:通过pid来杀死进程 killall (killall ...
分类:
系统相关 时间:
2020-09-10 23:05:24
阅读次数:
60
一:背景昨天在看C#函数式编程这本书的时候,有一处让我干着急,需求是这样:给多行文字加上数字列表项。针对这个需求你会如何快捷高效的给每个项目加上数字编号呢?我看书中是这样实现的,如下代码publicclassProgram{publicstaticvoidMain(string[]args){varlist=newList<string>(){"cnblogs","csdn","zhi
分类:
其他好文 时间:
2020-09-10 22:53:49
阅读次数:
38