using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using JuSNS.Model;

namespace JuSNS.SQLServer
{
    /// <summary>
    /// 写日志接口
    /// </summary>
    public interface IDbLog
    {
        /// <summary>
        /// 写用户操作日志
        /// </summary>
        /// <param name="Trans"></param>
        /// <param name="action"></param>
        /// <returns></returns>
        int UserDyn(SqlTransaction trans, int ID, int appID, string dynType, int UserID, int bUserID,int cID, string Descript, string infoarr);
        /// <summary>
        /// 写管理员操作日志
        /// </summary>
        /// <param name="Trans"></param>
        /// <param name="action"></param>
        /// <returns></returns>
        int AdminLog(SqlTransaction trans, EnumAdminAction action);
    }
}
