Пример #1
0
 // Class constructor, create the data context object.
 public AmalViewModel(string AmalDBConnectionString)
 {
     _amalDB = new AmalDataContext(AmalDBConnectionString);
 }
 public LamanAmal1()
 {
     InitializeComponent();
     AmalDB = App.ViewModel.AmalDB;
 }