当前位置:网站首页>【EF Core】EF Core与C# 数据类型映射关系
【EF Core】EF Core与C# 数据类型映射关系
2022-07-05 23:30:00 【又被平均了】
| C# 数据类型 | 映射到SQL Server的数据类型 |
|---|---|
| int | int |
| string | nvarchar(Max) |
| decimal | decimal(18,2) |
| float | real |
| byte[] | varbinary(Max) |
| datetime | datetime |
| bool | bit |
| byte | tinyint |
| short | smallint |
| long | bigint |
| double | float |
| char | No mapping |
| sbyte | No mapping (throws exception) |
| object | No mapping |
边栏推荐
- Spire Office 7.5.4 for NET
- 424. The longest repeated character after replacement ●●
- asp.net弹出层实例
- 数学公式截图识别神器Mathpix无限使用教程
- Go language introduction detailed tutorial (I): go language in the era
- QCombox(重写)+QCompleter(自动补全,自动加载qcombox的下拉选项,设置背景颜色)
- 2022.6.20-6.26 AI industry weekly (issue 103): new little life
- Russian Foreign Ministry: Japan and South Korea's participation in the NATO summit affects security and stability in Asia
- Rsync remote synchronization
- Introduction to JVM
猜你喜欢

Brushless drive design -- on MOS drive circuit

2: Chapter 1: understanding JVM specification 1: introduction to JVM;

Rasa 3.x 学习系列-Rasa 3.2.1 新版本发布

保研笔记四 软件工程与计算卷二(8-12章)

进击的技术er——自动化

【经典控制理论】自控实验总结

Comparison of parameters between TVs tube and zener diode

Go语言实现原理——Map实现原理

SpreadJS 15.1 CN 与 SpreadJS 15.1 EN

《牛客刷verilog》Part III Verilog企业真题
随机推荐
C# 反射与Type
It is proved that POJ 1014 module is optimized and pruned, and some recursion is wrong
regular expression
UVA – 11637 garbage remembering exam (combination + possibility)
Practice of concurrent search
UVA11294-Wedding(2-SAT)
698. Divided into k equal subsets ●●
Cwaitabletimer timer, used to create timer object access
保研笔记二 软件工程与计算卷二(13-16章)
JVM的简介
rsync远程同步
Xinyuan & Lichuang EDA training camp - brushless motor drive
Bao Yan notes II software engineering and calculation volume II (Chapter 13-16)
VS2010编写动态链接库DLL和单元测试,转让DLL测试的正确性
帶外和帶內的區別
Common static methods of math class
14 MySQL-视图
代码农民提高生产力
(4)UART应用设计及仿真验证2 —— TX模块设计(无状态机)
Leetcode sword finger offer brush questions - day 21