python中拆分字符串 1、 >>> test1 = "abxcdxefxfh" >>> test1 'abxcdxefxfh' >>> test1.split(sep = "x") ['ab', 'cd', 'ef', 'fh'] ...
分类:
编程语言 时间:
2021-05-04 15:23:41
阅读次数:
0
介绍 SqlSugar是一款 老牌 .NET 开源ORM框架,由果糖大数据科技团队维护和更新 ,Github star数仅次于EF 和 Dapper 优点: 简单易用、功能齐全、高性能、轻量级、服务齐全、有专业技术支持一天18小时服务 支持数据库:MySql、SqlServer、Sqlite、Ora ...
分类:
数据库 时间:
2021-04-27 14:08:52
阅读次数:
0
查看当前默认编码方式 show VARIABLES like 'character_%'; 把linan1类型改成utf8 set character_set_database=utf8; ps:这一步我感觉关系不大?不过网上都说让改,我没改好像也没问题 ef连接字符串修改: Data Source ...
分类:
数据库 时间:
2021-04-21 12:44:41
阅读次数:
0
一、项目结构分层 二、实体类 SysRole——角色表SysUser——用户表SysMenu——菜单表SysAction——接口表,关联菜单表SysUserRole——用户角色表SysRoleMenu——角色菜单授权表先只做到页面授权级,如果做到按钮级,就在菜单表里加个字段区别是页面还是按钮 ...
分类:
Web程序 时间:
2021-04-21 12:43:51
阅读次数:
0
C#中对xml数据的读取和写入: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Xml; using ...
前言 本文主要是讲解EF Core3.0+ 如何实现自定义的数据库扩展函数 虽然EF.Functions 提供了很多数据库函数,但是并不全面.比如加密解密.. 这样的话 我们就需要自己扩展这些数据库函数 从而达到调用的目的. 本文以达梦数据库为例(其他数据库都一样).. 上篇文章推荐: EF Cor ...
分类:
其他好文 时间:
2021-04-15 11:58:32
阅读次数:
0
在上一篇文章中,我们比较出单表插入9999行数据,Dapper > EfCore > Freesql。在本文中,我们来看看级联插入 构建9999行数据 List<Entity> datas = new List<Entity>(); for (int i = 0; i < 9999; i++) { ...
分类:
移动开发 时间:
2021-04-14 12:13:34
阅读次数:
0
四则运算代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ClassLibrary1{ public ...
分类:
其他好文 时间:
2021-04-12 12:51:16
阅读次数:
0
公交站点显示 using System.Collections.Generic; usinSystem.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; usi ...
分类:
其他好文 时间:
2021-04-12 12:40:32
阅读次数:
0
XML文件操作 实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XMLDemo { class Student { public string St ...
分类:
其他好文 时间:
2021-04-12 12:30:15
阅读次数:
0