新文章 网摘 文章 随笔 日记

05 2021 档案

摘要:/// <summary> /// 共享文件夹连接器 /// </summary> public class ShareFoldConector { /// <summary> /// 连接共享文件夹 /// </summary> /// <param name="path">共享路径</param 阅读全文
posted @ 2021-05-28 16:31 岭南春 阅读(128) 评论(0) 推荐(0)
摘要:private void FrmUserEdit_Load(object sender, EventArgs e) { DtpDepartureDate.Format = DateTimePickerFormat.Custom; DtpDepartureDate.CustomFormat = " " 阅读全文
posted @ 2021-05-26 15:41 岭南春 阅读(208) 评论(0) 推荐(0)
摘要:服务端: public UnaryResult<CurrentUser> SignIn(string employeeNoEncry, string pwdEncry, string sessionIdEncry) { //密码解密 X509Certificate2 x509 = new X509C 阅读全文
posted @ 2021-05-22 15:22 岭南春 阅读(89) 评论(0) 推荐(0)
摘要:1.使用EXISTS代替IN检查数据是否存在。2.避免在SELECT语句中使用*。输入所需的列名称。3.选择适当的数据类型。例如,要存储字符串,请使用varchar代替文本数据类型。每当您需要存储大数据(超过8000个字符)时,请使用文本数据类型。4.如果可能,请避免使用nchar和nvarchar 阅读全文
posted @ 2021-05-22 08:47 岭南春 阅读(121) 评论(0) 推荐(0)
摘要:介绍 此示例代码用于在运行时间指定您使用的上下文(连接、初始化器和配置)时使用实体框架 5。 背景 我花了两个星期收集信息如何运行自动迁移从代码没有包管理器控制台,以及如何做到这一点,当我想指定连接字符串在运行时间。此外,我不想使用任何。配置文件或其他静态配置。 使用代码 我使用不同的上下文因子进行 阅读全文
posted @ 2021-05-13 17:16 岭南春 阅读(140) 评论(0) 推荐(0)
摘要:@using Phoenix.IdentityServerAdmin.Clients.Dtos @using IdentityServer4.Models <EditForm Model="ClientSecretList"> <Card> <CardBody> @foreach (var clie 阅读全文
posted @ 2021-05-12 10:48 岭南春 阅读(73) 评论(0) 推荐(0)
摘要:using System; using System.Runtime.InteropServices; namespace Phoenix.Spider.Helpers { /// <summary> /// Class containing methods to retrieve specific 阅读全文
posted @ 2021-05-08 11:15 岭南春 阅读(247) 评论(0) 推荐(0)