示例#1
0
 public static void Update()
 {
     var dao = new RolDao();
     var secre = dao.Get(2).Value;
     secre.Nombre = "Secretaria Updated";
     secre = dao.Update(secre).Value;
     Console.WriteLine(secre);
 }
示例#2
0
 public static void Get()
 {
     var dao = new RolDao();
     Console.WriteLine(dao.Get(2).Value);
 }