예제 #1
0
 public void TestMethod4()
 {
     SourceWebDAL dal = new SourceWebDAL();
     SourceWeb web = new SourceWeb {Id=1,CreateDate = DateTime.Now, CreateBy = 1, Web = "test222", URL = "www.testtest.com", IsDelete = true };
     int result = dal.Update(web);
     Console.WriteLine(result);
 }
예제 #2
0
 public void TestMethod2()
 {
     SourceWebDAL dal = new SourceWebDAL();
     SourceWeb web = new SourceWeb { CreateDate = DateTime.Now,CreateBy=1,Web="test",URL="www.test.com",IsDelete=false };
     int result = dal.Insert(web);
     Console.WriteLine(result);
 }