Ejemplo n.º 1
0
 public int Insert(TestDaoEntity entity)
 {
     return(coon.Execute("insert into Test(Name) values(@Name)", entity));
 }
Ejemplo n.º 2
0
 public int Update(TestDaoEntity entity)
 {
     return(coon.Execute("update  Test set Name=@Name  where Id=@Id", entity));
 }
Ejemplo n.º 3
0
 public int Delete(TestDaoEntity entity)
 {
     return(coon.Execute("delete Test where Id=@Id", entity));
 }