-
```
public int GetById(int id)
{
return activityRepository.Insert(id);
}
```
应该为
```
public int GetById(int id)
{
return activit…
-
T.is_delete = 0
T.is_delete = 1
1 = 1
TypeI…
-
Ref #2387
We have four component-libraries.yaml for different purposes, need to sync the change to all of them. Also, should the mapping be there?
-
1. 找不到`MultipleActiveResultSets`的示例,不知道怎么写。
2. 可能是`MultipleResultMaps`?那么我的三条语句分布在三个xml里,写到哪里呢?
代码:
```C#
public async Task InsertAsync(ArticleUpdateParameter parameter)
{
…
-
-
由于部分功能在执行的时候比较费时间,需要特殊处理 单独设置本方法可以把超时时间长 执行的时候指定时间
-
在虚方法上这个特性有效,在接口方法上无效:
请问是不支持接口吗?
有效示例:
```C#
[Transaction]
public virtual async Task UpdateAsync(ArticleUpdateParameter parameter)
{
var externalTask = SetArticleTagsAndCategories(parame…
-
![image](https://user-images.githubusercontent.com/7188738/56115751-b650ea00-5f96-11e9-8516-086478cf2def.png)
This link navigates to a url and then automaticlly redirected to chinese homepage of th…
-
1.提取到Config统一配置Connection;
2.可加入环境变量配置
-
在主方法和子方法都存在TransactionAttribute 的情况下。会出异常。AspectCore.DynamicProxy.AspectInvocationException: Exception has been thrown by the aspect of an invocation. ---> Before RollbackTransaction,Please BeginTrans…