添加项目文件。
This commit is contained in:
17
WaterCloud.Data/Extensions/ISqlSugarEntitySeedData.cs
Normal file
17
WaterCloud.Data/Extensions/ISqlSugarEntitySeedData.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WaterCloud.DataBase;
|
||||
|
||||
/// <summary>
|
||||
/// 实体种子数据接口
|
||||
/// </summary>
|
||||
/// <typeparam name="TEntity"></typeparam>
|
||||
public interface ISqlSugarEntitySeedData<TEntity>
|
||||
where TEntity : class, new()
|
||||
{
|
||||
/// <summary>
|
||||
/// 种子数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
IEnumerable<TEntity> SeedData();
|
||||
}
|
||||
Reference in New Issue
Block a user