예제 #1
0
        public void InsertToSignin()
        {
            CnctLgDao dao = FactoryDao.Instance().GetCnctLgDao();

            dao.InsertToSignin("SY01", "nowonbun");
            Console.WriteLine("Press Any Key...");
        }
예제 #2
0
        public void SelectToInfoByDate()
        {
            HshldDao      dao  = FactoryDao.Instance().GetHshldDao();
            IList <Hshld> list = dao.SelectToInfoByDate("TEST1", DateTime.Now);

            Console.WriteLine("Press Any Key...");
        }
예제 #3
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...");
        }
예제 #4
0
        public void SelectForSign()
        {
            UsrNfDao dao = FactoryDao.Instance().GetUsrNfDao();
            UsrNf    ret = dao.SelectForSign("SY01", "nowonbun", "ghkdtsnduq1");

            Assert.AreEqual(ret.Nm, "SoonYub Hwang");
            ret = dao.SelectForSign("SY01", "nowonbun", "ghkdtsnd");
            Assert.AreEqual(ret.Nm, null);
        }
예제 #5
0
        public void SelectByKey()
        {
            GrpNfDao      dao  = FactoryDao.Instance().GetGrpNfDao();
            IList <GrpNf> list = dao.SelectByKey("SY01");

            foreach (GrpNf l in list)
            {
                Console.WriteLine(l);
            }
            Console.WriteLine("Press Any Key...");
        }