Exemplo n.º 1
0
 public static int Update(EOGRENCI item)
 {
     if (item.MAIL1 != null && item.SIFRE1 != null)
     {
         return(FOGRENCI.Update(item));
     }
     else
     {
         return(-1);
     }
 }
Exemplo n.º 2
0
 public static EOGRENCI Select(string ogrenciNo, string sifre)
 {
     if (ogrenciNo.Length == 9 && sifre.Length > 0)
     {
         return(FOGRENCI.Select(ogrenciNo, sifre));
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 3
0
 public static List <EOGRENCI> SelectList()
 {
     return(FOGRENCI.SelectList());
 }