Beispiel #1
0
 public void Refresh()
 {
     _ctx = new FiskalnaKasaEntities();
     _ctx.JedinicaMeres.Load();
     Collection.Source = _ctx.JedinicaMeres.Local;
     Collection.SortDescriptions.Add(new SortDescription("SIF_JEDMER", ListSortDirection.Ascending));            //Orders the datagrid based on ID
 }
 private void Refresh()
 {
     _ctx = new FiskalnaKasaEntities();
     _ctx.Tarifas.Load();
     Collection.Source = _ctx.Tarifas.Local;
     Collection.SortDescriptions.Add(new SortDescription("SIF_TAR", ListSortDirection.Ascending));            //Orders the datagrid based on ID
 }
 private void LoadData()
 {
     _ctx = new FiskalnaKasaEntities();
 }