public void InsertToSignin() { CnctLgDao dao = FactoryDao.Instance().GetCnctLgDao(); dao.InsertToSignin("SY01", "nowonbun"); Console.WriteLine("Press Any Key..."); }
public void SelectToInfoByDate() { HshldDao dao = FactoryDao.Instance().GetHshldDao(); IList <Hshld> list = dao.SelectToInfoByDate("TEST1", DateTime.Now); Console.WriteLine("Press Any Key..."); }
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..."); }
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); }
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..."); }