예제 #1
0
 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;
 }
예제 #3
0
 public DirectModelAccesser()
 {
     connectionString = ConfigurationManager.ConnectionStrings["CentralData"].ConnectionString;
     orMapper         = Singleton <EntityAccesserFactory> .Instance.GetEntityAccesser(EntityAccesserType.SqlServer, connectionString);
 }