olliks1973

Context

Jan 26th, 2021
966
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  private List<string> _bundeslaender;
  2.         public List<string> Bundeslaender
  3.         {
  4.             get { return _bundeslaender; }
  5.             set { _bundeslaender = value; }
  6.         }
  7.  
  8.  using (var lands = new KundenContext())
  9.             {
  10.                 Bundeslaender = lands.Bundeslands.OrderBy(a => a.Bundesland).Select(a => a.Bundesland).ToList();
  11.                
  12.             }
  13.  
  14.  
  15.  
RAW Paste Data