Exemplo n.º 1
0
 /// <summary>
 /// Method to get a list of Info entity.
 /// </summary>
 /// <param name="op">Infos entities list options to perform query.</param>
 /// <returns>A list of Info entities.</returns>
 public ObservableCollection <InfoEntity> List(InfoOptionsList op)
 {
     using (Db.Context)
     {
         return(new ObservableCollection <InfoEntity>(InfoManager.List(op)));
     }
 }