public DbSet <BIANCHI_PROCESS> FindAll()
 {
     using (CalicoEntities context = new CalicoEntities())
     {
         return(context.Set <BIANCHI_PROCESS>());
     }
 }
Example #2
0
 public DbSet <tblSubCliente> FindAll()
 {
     using (CalicoEntities context = new CalicoEntities())
     {
         /* Obtengo todos los registros de la tabla de esta manera */
         var rows = context.Set <tblSubCliente>();
         return(rows);
     }
 }