xf dc8ad500b8 před 2 roky
..
Attributes 5ac6909ea1 Merge from callcenter před 2 roky
Authentications 03b4b7a576 workflow construct před 2 roky
Cache 03b4b7a576 workflow construct před 2 roky
Constants 0ffa959912 systemsettings před 2 roky
Dependency 5ac6909ea1 Merge from callcenter před 2 roky
Entities dc8ad500b8 před 2 roky
Events 5ac6909ea1 Merge from callcenter před 2 roky
Exceptions a9df6a81e2 handle user with identity před 2 roky
Extensions 1d9e543816 před 2 roky
Filters 3dddbf128a před 2 roky
Options 8c5b1dd0f5 identity před 2 roky
Password 8c5b1dd0f5 identity před 2 roky
README.md 5ac6909ea1 Merge from callcenter před 2 roky
XF.Domain.csproj 8c5b1dd0f5 identity před 2 roky

README.md

#### 代码编写规范

1. 参照微软推荐编码规范及约定

https://docs.microsoft.com/zh-cn/dotnet/csharp/fundamentals/coding-style/identifier-names https://docs.microsoft.com/zh-cn/dotnet/csharp/fundamentals/coding-style/coding-conventions https://docs.microsoft.com/zh-cn/dotnet/standard/design-guidelines/naming-guidelines

2. 该项目扩展规范
  • 枚举:命名以大写E为前缀,在文件列表中可以一目了然
  • 方法命名方式: 新增:Addxxx 删除:Removexxx 修改:Updatexxx 查询单条数据:Getxxx 查询多条数据:Queryxxx 查询所有数据:QueryAllxxx 异步方法以Async为后缀:GetxxxAsync
  • WebApi和Web项目的Action都尽量采用异步方法,但命名不加Async后缀(因为此处的调用方不以Action命名来调用,而是以路由规则来访问)
  • 字段以'_'加小写字母为前缀:_orderDomainService