📄 idaofactory.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using ExaminationSystem.BLL.Domain;
namespace ExaminationSystem.BLL.DataInterface
{
/// <summary>
/// Provides an interface for retrieving DAO objects
/// </summary>
public interface IDaoFactory
{
ISubjectDao GetSubjectDao();
IChapterDao GetChapterDao();
IHardDao GetHardDao();
IDanXuanContentDao GetDanXuanContentDao();
IDuoXuanContentDao GetDuoXuanContentDao();
IPanDuoContentDao GetPanDuoContentDao();
ITianKongContentDao GetTianKongContentDao();
IJianDaContentDao GetJianDaContentDao();
IQuestionDao GetQuestionDao();
IQuestionContainerDao GetQuestionContainerDao();
IPaperDao GetPaperDao();
IStudentDao GetStudentDao();
IClassDao GetClassDao();
IExaminationDao GetExaminationDao();
IPaperStrategyDao GetPaperStrategyDao();
IStrategyContainerDao GetStrategyContainerDao();
IStrategyItemDao GetStrategyItemDao();
IQuestionContentDao GetQuestionContentDao();
IUserDao GetUserDao();
ITeacherDao GetTeacherDao();
IAdminDao GetAdminDao();
}
// There's no need to declare each of the DAO interfaces in its own file, so just add them inline here.
// But you're certainly welcome to put each declaration into its own file.
#region Inline interface declarations
public interface ISubjectDao : IDao<Subject, long> { }
public interface IChapterDao : IDao<Chapter, long> { }
public interface IHardDao : IDao<Hard, long> { }
public interface IDanXuanContentDao : IDao<DanXuanContent, long> { }
public interface IDuoXuanContentDao : IDao<DuoXuanContent, long> { }
public interface IPanDuoContentDao : IDao<PanDuanContent, long> { }
public interface ITianKongContentDao : IDao<TianKongContent, long> { }
public interface IJianDaContentDao : IDao<JianDaContent, long> { }
public interface IQuestionDao : IDao<Question, long> { }
public interface IQuestionContainerDao : IDao<QuestionContainer, long> { }
public interface IPaperDao : IDao<Paper, long> { }
public interface IStudentDao : IDao<Student, long> { }
public interface IClassDao : IDao<Class, long> { }
public interface IPaperStrategyDao : IDao<PaperStrategy, long> { }
public interface IStrategyContainerDao : IDao<StrategyContainer, long> { }
public interface IStrategyItemDao : IDao<StrategyItem, long> { }
public interface IUserDao : IDao<User, long> { }
public interface ITeacherDao : IDao<Teacher, long> { }
public interface IAdminDao : IDao<Admin, long> { }
#endregion
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -