You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ZhongLianModel;
|
|
|
|
namespace ZhongLianInterface
|
|
{
|
|
public interface IDriveService
|
|
{
|
|
/// <summary>
|
|
/// 创建
|
|
/// </summary>
|
|
/// <param name="file">文件</param>
|
|
/// <returns></returns>
|
|
Task<FileDO> Insert(FileDO file);
|
|
|
|
/// <summary>
|
|
/// 创建插入
|
|
/// </summary>
|
|
/// <param name="file">文件</param>
|
|
/// <returns></returns>
|
|
Task<FileDO> InsertDO(FileDO file);
|
|
|
|
/// <summary>
|
|
/// 创建检查
|
|
/// </summary>
|
|
/// <param name="file">文件</param>
|
|
/// <returns></returns>
|
|
string InsertCheck(FileDO file);
|
|
|
|
/// <summary>
|
|
/// 查询
|
|
/// </summary>
|
|
/// <param name="id">编号</param>
|
|
/// <returns></returns>
|
|
Task<FileDO> Get(string id);
|
|
|
|
/// <summary>
|
|
/// 查询数据
|
|
/// </summary>
|
|
/// <param name="id">编号</param>
|
|
/// <returns></returns>
|
|
Task<FileDO> GetDO(string id);
|
|
}
|
|
}
|