コード例 #1
0
 // Obter todas as categorias
 public List <Category> GetCategories()
 {
     return(ReadOperations.GetAllWithChildren <Category>(sqliteconnection));
 }
コード例 #2
0
 public List <Department> GetAllDepartment()
 {
     return(ReadOperations.GetAllWithChildren <Department>(connection, recursive: true).ToList());
 }
コード例 #3
0
 // Obter todos os produtos
 public List <Product> GetProductList()
 {
     // using SQLite Extensions to solve relations
     return(ReadOperations.GetAllWithChildren <Product>(sqliteconnection));
 }
コード例 #4
0
 public List <User> GetUsersAsync()
 {
     //return db.Table<Question>().ToListAsync();
     return(ReadOperations.GetAllWithChildren <User>(db));
 }