Exemple #1
0
        public void SelectToInfoByDate()
        {
            HshldDao      dao  = FactoryDao.Instance().GetHshldDao();
            IList <Hshld> list = dao.SelectToInfoByDate("TEST1", DateTime.Now);

            Console.WriteLine("Press Any Key...");
        }
Exemple #2
0
        public void InsertToInfo()
        {
            HshldDao dao = FactoryDao.Instance().GetHshldDao();
            String   cd  = FactoryMaster.Instance().GetCategoryMaster().GetAll().First().Cd;
            String   tp  = FactoryMaster.Instance().GetTypeMaster().GetByCategoryCode(cd).First().TP;

            dao.InsertToInfo("TEST1", "tester", cd, tp, DateTime.Now.ToString("yyyy-MM-dd"), "TEST", "1");
            Console.WriteLine("Press Any Key...");
        }