// Class constructor, create the data context object. public AmalViewModel(string AmalDBConnectionString) { _amalDB = new AmalDataContext(AmalDBConnectionString); }
public LamanAmal1() { InitializeComponent(); AmalDB = App.ViewModel.AmalDB; }