Example #1
0
        private Tafel Readitem(SqlDataReader reader)
        {
            int          tafel_id = (int)reader["tafel_id"];
            Status_tafel status   = (Status_tafel)(int)reader["status"];

            return(new Tafel(tafel_id, status));
        }
Example #2
0
 public bool SetTafelStatus(Status_tafel in_status)
 {
     if ((in_status == Status_tafel.Vrij || in_status == Status_tafel.Bezet))
     {
         this.Status = in_status;
         return(true);
     }
     return(false);
 }
Example #3
0
 public Tafel(int in_id, Status_tafel in_status)
 {
     Id     = in_id;
     Status = in_status;
 }