private void LoadData() { _dataService = new PessoaDataService(DependencyService.Get <ISQLite>().GetConnection()); Entidades = new ObservableCollection <Pessoa>(_dataService.Select(null)); }
public PessoaCadastroViewModel() { _dataService = new PessoaDataService(DependencyService.Get <ISQLite>().GetConnection()); SetVisibility(EntidadeAtual.Id == 0); }