摘要:
var factory = new ConnectionFactory() { HostName = "localhost", UserName = "guest", Password = "guest", }; using (var connection = factory.CreateConne 阅读全文
摘要:
Z.EntityFramework.Extensions dbcontext.BulkInsert(customers); dbcontext.BulkSaveChanges(); 阅读全文
摘要:
Data Source = myServerAddress;Initial Catalog = myDataBase;User Id = myUsername;Password = myPassword; Server = myServerAddress;Database = myDataBase; 阅读全文
摘要:
log4net 配置 阅读全文
摘要:
在IIS上发布netcore项目 保证电脑上有.net core sdk或者.net core runtime; 需要安装AspNetCoreModule托管模块:DotNetCore.2.0.5-WindowsHosting.exe https://aka.ms/dotnetcore-2-wind 阅读全文
摘要:
CentOS7默认数据库是mariadb,配置等用着不习惯,因此决定改成mysql,但是CentOS7的yum源中默认好像是没有mysql的。为了解决这个问题,我们要先下载mysql的repo源。 1.下载mysql的repo源 $ wget http://repo.mysql.com/mysql- 阅读全文