修改了一些内容
This commit is contained in:
@@ -24,8 +24,11 @@ public enum CSharpDataType
|
||||
[Description("布尔型")] Bool,
|
||||
[Description("字节型")] Byte,
|
||||
[Description("短整型")] Short,
|
||||
[Description("无符号短整型")] UShort,
|
||||
[Description("整型")] Int,
|
||||
[Description("无符号整型")] UInt,
|
||||
[Description("长整型")] Long,
|
||||
[Description("无符号长整型")] ULong,
|
||||
[Description("浮点型")] Float,
|
||||
[Description("双精度浮点型")] Double,
|
||||
[Description("字符串型")] String,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using DMS.Core.Models;
|
||||
|
||||
namespace DMS.Infrastructure.Services;
|
||||
namespace DMS.Core.Interfaces;
|
||||
|
||||
public interface IExcelService
|
||||
{
|
||||
|
||||
@@ -48,4 +48,10 @@ public interface IBaseRepository<T> where T : class
|
||||
/// </summary>
|
||||
/// <param name="number">从数据库获取数据的条数</param>
|
||||
Task<List<T>> TakeAsync(int number);
|
||||
|
||||
/// <summary>
|
||||
/// 异步批量添加实体。
|
||||
/// </summary>
|
||||
/// <param name="entities">要添加的实体列表。</param>
|
||||
Task<bool> AddBatchAsync(List<T> entities);
|
||||
}
|
||||
Reference in New Issue
Block a user