上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页
摘要: 官网链接: Configuring a DbContext https://docs.microsoft.com/en-us/ef/core/miscellaneous/configuring-dbcontext Design-time DbContext Creation https://docs 阅读全文
posted @ 2020-05-19 11:51 PanPan003 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-19 11:19 PanPan003 阅读(927) 评论(0) 推荐(0) 编辑
摘要: json格式化工具: 阅读全文
posted @ 2020-05-19 11:18 PanPan003 阅读(2010) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-19 11:16 PanPan003 阅读(1671) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-19 11:12 PanPan003 阅读(1645) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-05-15 16:11 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
摘要: using TEntityContext context = new TEntityContext(); //foreach(var record in listRecords) //{ //} context.Set<T>().AddRange(listRecords); //context.Ad 阅读全文
posted @ 2020-05-15 15:28 PanPan003 阅读(286) 评论(0) 推荐(0) 编辑
摘要: // 已知 Type type // 已知 string file var method = this.GetType().GetMethod(nameof(ImportDatabaseFromCsv), BindingFlags.Instance | BindingFlags.Public); / 阅读全文
posted @ 2020-05-15 15:25 PanPan003 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: SQLite剖析(5):体系结构 本文整理自http://sqlite.org/arch.html。 本文描述SQLite库的体系结构。这些内容对于那些想了解和修改SQLite内部结构的人将会非常有用。在探索前我们先下载源码包sqlite-src-3071400.zip,在其src目录下包含了所有源 阅读全文
posted @ 2020-05-15 13:50 PanPan003 阅读(563) 评论(0) 推荐(0) 编辑
摘要: SQLite 如何变成 内存数据库 SQLite数据库通常存储在单个普通磁盘文件中。但是,在某些情况下,数据库可能存储在内存中。 强制SQLite数据库单纯的存在于内存中的最常用方法是使用特殊文件名“:memory:” 打开数据库。换句话说,不是将真实磁盘文件的名称传递给sqlite3_open() 阅读全文
posted @ 2020-05-15 12:15 PanPan003 阅读(6809) 评论(0) 推荐(0) 编辑
摘要: 用Sqlite的内存数据库对nhibernate进行单元测试 针对数据访问代码的单元测试处在一个尴尬的位置上,如果操作不是针对真实的数据库执行的,就无法捕获数据库特定的错误,比如 sql 语句语法是否正确,操作是否违反了数据库约束,事务是否正确提交。并且,测试之间应该是隔离的,一个测试不能影响另一个 阅读全文
posted @ 2020-05-15 11:38 PanPan003 阅读(873) 评论(0) 推荐(0) 编辑
摘要: SQLite 带你入门 SQLite数据库相较于我们常用的Mysql,Oracle而言,实在是轻量得不行(最低只占几百K的内存)。平时开发或生产环境中使用各种类型的数据库,可能都需要先安装数据库服务(server),然后才能通过代码、命令行或者客户端工具来操作数据库,但是SQLite却有点别具一格, 阅读全文
posted @ 2020-05-15 11:32 PanPan003 阅读(1710) 评论(0) 推荐(1) 编辑
摘要: 常用的各种软件统统使用Docker容器化了 https://github.com/jessfraz/dockerfiles 阅读全文
posted @ 2020-05-12 18:32 PanPan003 阅读(189) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/lijinze-tsinghua/p/8686264.html Docker容器运行GUI程序的配置方法 0.环境说明 Ubuntu 16.04 docker 1.35 1.Docker的“可视化” Docker本身的工作模式是命令行的,因为主要的使用 阅读全文
posted @ 2020-05-12 18:30 PanPan003 阅读(13472) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ysocean/p/7402385.html 目录 1、引言 2、常规项目开发存在的问题 3、什么是 Maven ? 4、Maven 的历史 5、Maven 的目标 6、Maven 的理念 阅读全文
posted @ 2020-05-12 12:32 PanPan003 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/jingzhunbiancheng/article/details/80994909 容器相比虚拟机更轻量 一 虚拟机 二 容器 一、本质上的区别: VM(VMware)在宿主机器、宿主机器操作系统的基础上创建虚拟层、虚拟化的操作系统、虚拟化的仓库, 阅读全文
posted @ 2020-05-12 12:31 PanPan003 阅读(394) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-05-12 11:46 PanPan003 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 通过 .NET 生成服务器端容器化 Docker 应用程序时,有两种支持的框架:.NET Framework 和 .NET Core。 这两者共享许多 .NET 平台组件,可在它们之间共享代码。 但两者之间存在根本差异,可根据需要实现的目标选择框架。 .NET Framework项目在容器上运行 限 阅读全文
posted @ 2020-05-11 11:05 PanPan003 阅读(1590) 评论(0) 推荐(1) 编辑
摘要: 安装完postgres后,默认只能本机访问数据库,下面通过配置实现局域网内访问postgres数据库。 1、修改配置文件 在安装目录的/data文件夹下,打开pg_hba.conf文件,定位到如下文本。 # IPv4 local connections:host all all 127.0.0.1/ 阅读全文
posted @ 2020-05-07 18:55 PanPan003 阅读(2861) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/nicest/p/9577310.html 国外镜像会很慢 可用 get命令查看registry 1 npm congfig get registry 原版结果为 1 http://registry.npmjs.org 用set命令换成阿里的镜像就可以 阅读全文
posted @ 2020-05-07 16:59 PanPan003 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 1.postgresql服务启动 2.本地创建数据库 右键=》restore 忘记密码怎么办?=》重置密码,sql如下 alter user postgres with password '*****' 阅读全文
posted @ 2020-05-06 19:04 PanPan003 阅读(1431) 评论(0) 推荐(0) 编辑
摘要: 错误信息: System.Security.Cryptography.CryptographicException: 参数错误。 在 System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] o 阅读全文
posted @ 2020-05-06 11:16 PanPan003 阅读(453) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-30 12:09 PanPan003 阅读(15) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-29 16:08 PanPan003 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-29 15:16 PanPan003 阅读(3) 评论(0) 推荐(0) 编辑
摘要: http://linux.vbird.org/linux_basic/0120howtolinux/0120howtolinux_1.php 一﹐先看如下兩本﹕> 《精通區域網路》(Mastering Local Area Network) 儒林 (SYBEX) 翻譯出版> 《TCP/IP 通訊協定 阅读全文
posted @ 2020-04-29 15:14 PanPan003 阅读(318) 评论(0) 推荐(0) 编辑
摘要: http://www.study-area.org/network/networkfr1.htm網路概論何為網路﹖網路能做些什麼﹖一些網路名詞連線材料網路架構網路管理模式通訊協定網路作業系統超越LAN之外 Internetworking電信 (Telecommunication) TCP/IP基礎T 阅读全文
posted @ 2020-04-29 15:10 PanPan003 阅读(130) 评论(0) 推荐(0) 编辑
摘要: http://www.study-area.org/compu/compu.htm 何謂電腦﹖輸入 & 輸出中央處理單元(CPU)記憶體儲存裝置主機板作業系統檔案架構中文輸入電腦安裝DIY維護與注意附錄1附錄2 阅读全文
posted @ 2020-04-29 15:07 PanPan003 阅读(147) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-27 12:22 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-26 12:31 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
摘要: /etc# cat resolv.conf nameserver 10.96.0.10 search *****.svc.cluster.local svc.cluster.local cluster.local chn.gbl options ndots:5 方式一(集群内的服务调用) 集群内不同 阅读全文
posted @ 2020-04-24 19:52 PanPan003 阅读(2480) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-20 12:08 PanPan003 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-20 12:06 PanPan003 阅读(7) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-20 12:03 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-20 11:49 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-17 15:44 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
摘要: pm2常用的命令用法介绍 PM2 (github上的源码)是开源的基于Nodejs的进程管理器,包括守护进程,监控,日志的一整套完整的功能,基本是Nodejs应用程序不二的守护进程选择,事实上它并不仅仅可以启动Nodejs的程序,只要是一般的脚本的程序它同样可以胜任。 pm2 是一个带有负载均衡功能 阅读全文
posted @ 2020-04-17 15:40 PanPan003 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: dockerfile # base image FROM ubuntu:latest LABEL maintainer="Pan" # WORKDIR /app EXPOSE 3000 EXPOSE 35729 COPY sources.list /etc/apt RUN apt-get updat 阅读全文
posted @ 2020-04-17 15:29 PanPan003 阅读(1221) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-17 15:25 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-17 15:13 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页