⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idaofactory.cs

📁 NHibernate简单DEMO
💻 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 + -