public StampManagementViewModel() { DeleteSelectedImageCommandVM = new SecureCommandViewModel(DeleteSelectedImageCommandExecute) { Title = Text.DeleteSelectedImage }; DeleteAllImageCommandVM = new SecureCommandViewModel(DeleteAllImageCommandExecute) { Title = Text.DeleteAll }; orMapper = Singleton <MainWindowViewModel> .Instance.OrMapper; }
public StampManagementViewModel() { DeleteSelectedImageCommandVM = new SecureCommandViewModel(DeleteSelectedImageCommandExecute) { Title = Text.DeleteSelectedImage }; DeleteAllImageCommandVM = new SecureCommandViewModel(DeleteAllImageCommandExecute) { Title = Text.DeleteAll }; orMapper = Singleton<MainWindowViewModel>.Instance.OrMapper; }
public DirectModelAccesser() { connectionString = ConfigurationManager.ConnectionStrings["CentralData"].ConnectionString; orMapper = Singleton <EntityAccesserFactory> .Instance.GetEntityAccesser(EntityAccesserType.SqlServer, connectionString); }