public FileUploadBLL() : base() { base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name); baseDal.OnOperationLog += new OperationLogEventHandler(Next.Admin.BLL.OperationLogBLL.OnOperationLog);//如果需要记录操作日志,则实现这个事件 this.fileUploadDAL = (IFileUploadDAL)base.baseDal; }
public List <FileUpload> GetByAttachGuid(string attachmentGuid) { IFileUploadDAL dal = baseDal as IFileUploadDAL; return(dal.GetByAttachGuid(attachmentGuid)); }