📄 idaofactory.cs
字号:
using BasicSample.Core.Domain;
namespace BasicSample.Core.DataInterfaces
{
/// <summary>
/// Provides an interface for retrieving DAO objects
/// </summary>
public interface IDaoFactory
{
ICustomerDao GetCustomerDao();
IHistoricalOrderSummaryDao GetHistoricalOrderSummaryDao();
IOrderDao GetOrderDao();
ISupplierDao GetSupplierDao();
}
// 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 ICustomerDao : IDao<Customer, string> { }
public interface ISupplierDao : IDao<Supplier, long> { }
#endregion
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -