ibms-dome/Repository/FrontendRepository/Interface/IFrontendRepository.cs
2022-10-14 16:08:54 +08:00

28 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Repository.BaseRepository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Repository.FrontendRepository.Interface
{
public interface IFrontendRepository : IBaseRepository
{
/// <summary>
/// 透過Account取得當前登入使用者資訊
/// </summary>
/// <param name="account"></param>
/// <returns></returns>
A GetMyUserInfoByAccount<A>(string account);
void UpdateProcessPID(Dictionary<string, object> dict, string Table_name, string sWhere);
Task AddOneFromDataDelivery(int task_id, List<string> pks, Dictionary<string, object> dict, string targetTable);
Task AddMutiFromDataDelivery(int task_id, List<string> pks, List<Dictionary<string, object>> dicts, string targetTable);
Task UpdateOneFromDataDelivery(int task_id, List<string> pks, Dictionary<string, object> dict, string targetTable);
Task UpdateListFromDataDelivery(int task_id, List<string> pks, List<Dictionary<string, object>> dicts, string targetTable);
Task PurgeOneFromDataDelivery(int task_id, List<string> pks, Dictionary<string, object> dict, string targetTable);
Task PurgeSpecifyInsertFromDataDelivery(int task_id, List<string> pks, List<Dictionary<string, object>> dicts, string targetTable);
Task PurgeAllInsertFromDataDelivery(int task_id, List<string> pks, List<Dictionary<string, object>> dicts, string targetTable);
}
}