码迷,mamicode.com
首页 >  
搜索关键字:linq to ef    ( 21280个结果
EF Core CodeFirst
1、 user 实体类 ~~~c public class User { public int ID { get; set; } public string Name { get; set; } public string Pwd { get; set; } public string Email ...
分类:其他好文   时间:2020-01-31 22:58:08    阅读次数:127
C# Excl(IO流)
IO流 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.IO; using System.Text; namesp ...
分类:Windows程序   时间:2020-01-30 20:53:25    阅读次数:89
EF--EntityState相互转换
EF对数据做什么样的操作,是根据EF的上下文实体状态决定,实体状态有以下5种状态,下面我们就分别看下这5种状态 数据准备,我们看到学生表里有20000名学生记录,最后1位学生的学生编号为0000020000 1、Detached--实体跟上下文压根没关系 我们看到我新创建了名学生,学号为000002 ...
分类:其他好文   时间:2020-01-30 09:21:27    阅读次数:97
asp.net core 3.1 webapi 接口设计备忘
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.T ...
分类:Windows程序   时间:2020-01-29 21:20:26    阅读次数:128
FreeSql 取多表数据
FreeSql 取多表数据 以文章随笔与分类为例。 1. 表结构 部分字段如下,其他省略,为了展示一对多关联,一个分类下可以有多个文章。一个文章属于一个分类。 blog_article (随笔表) | 字段 | 类型 | 备注 | | | | | | id | int | | | classify_ ...
分类:数据库   时间:2020-01-29 17:48:04    阅读次数:232
用Linq To SQL 搭建底层
用Linq To SQL 搭建底层 接口 底层 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syst ...
分类:数据库   时间:2020-01-28 19:14:21    阅读次数:63
C# 控制台应用 实现 2048游戏
C# 控制台应用 实现 2048游戏 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game ...
分类:Windows程序   时间:2020-01-24 15:51:31    阅读次数:122
指定配置文件的监控实现,配置改变了立刻取得最新配置并使用
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace xxxxx.MessageHandling.Config { public ...
分类:其他好文   时间:2020-01-23 13:57:48    阅读次数:74
Linux中用 grep查找特定进程,屏蔽grep进程本身(也就是不出现grep --color=auto)
日常操作linux 中,通常在使用 ps命令后 用管道连接 查询特定进程会显示 grep进程本身。 如下: 1 [root@ecs-linux-byx ~]# ps -ef|grep gs4 2 root 6284 5879 0 14:30 pts/0 00:00:00 grep --color=a ...
分类:系统相关   时间:2020-01-22 18:17:01    阅读次数:335
Entity Framework技能知识点测试2
您正在使用EF Core编写一个博客应用程序,其中包含实体Post(贴子)和Comment(评论)。使用以下查询加载帖子。之后,如何显式加载Comment? 相关资源:https://www.cnblogs.com/jaxu/p/3700511.html 您正在构建一个包含几个子域的应用程序,每个子 ...
分类:其他好文   时间:2020-01-22 16:36:26    阅读次数:78
21280条   上一页 1 ... 56 57 58 59 60 ... 2128 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!