Closed Yumitoya8569 closed 9 months ago
这个功能在.net framework中不支持
Fastest API在 Oracle 中只有 .net core能用
用 .NET CORE需要提供完整用例,实体和代码
SqlSugar 5.1.4.110 Oracle 11c .Net (Core) 7
由於是生產環境的代碼, 我這邊只能提供近似的結構, 未實際測試
public class TableA
{
[SugarColumn(IsPrimaryKey = true)]
public string key1 { get; set; } = string.Empty;
[SugarColumn(IsPrimaryKey = true)]
public string key2 { get; set; } = string.Empty;
[SugarColumn(IsPrimaryKey = true)]
public string key3 { get; set; } = string.Empty;
public string? str1 { get; set; }
public string? str2 { get; set; }
public DateTime? date1 { get; set; }
public DateTime? date2 { get; set; }
public decimal? num1 { get; set; }
public decimal? num2 { get; set; }
}
await _db.Fastest<TableA>().PageSize(1000000).BulkMergeAsync(entities);
SqlSugarCore 5.1.4.111-preview22
预览版本已修复
还有问题发新的isssue
SqlSugar 5.1.4.110 Oracle