개정판 a5e5fff6
issue #0000 convert service의 entity를 dapper로 변경
Change-Id: I13069095813cf5dd7d7c79c7f17839682aed4fe1
ConvertService/ServiceBase/ConnectionStringBuild/MainWindow.xaml.cs | ||
---|---|---|
13 | 13 |
using System.Windows.Navigation; |
14 | 14 |
using System.Windows.Shapes; |
15 | 15 |
using Markus.Service; |
16 |
using Markus.Service.DataBase.Repositories; |
|
16 | 17 |
using Markus.Service.Extensions; |
17 | 18 |
using Markus.Service.Helper; |
18 | 19 |
using static Markus.Service.Extensions.Encrypt; |
... | ... | |
42 | 43 |
|
43 | 44 |
} |
44 | 45 |
|
45 |
private void ButtonTest_Click(object sender, RoutedEventArgs e) |
|
46 |
private async void ButtonTest_Click(object sender, RoutedEventArgs e)
|
|
46 | 47 |
{ |
47 | 48 |
try |
48 | 49 |
{ |
49 |
using (Markus.Service.DataBase.ConvertDatabase database = new Markus.Service.DataBase.ConvertDatabase(txtDecrypt.Text))
|
|
50 |
using (ConvertDocRepository database = new ConvertDocRepository(txtDecrypt.Text))
|
|
50 | 51 |
{ |
51 |
var result = database.GetWaitConvertItems(new List<string>(),30).ToList();
|
|
52 |
var result = await database.GetConvertDocAsync((int)Markus.Message.StatusCodeType.Wait);
|
|
52 | 53 |
|
53 |
txtLog.Text += "Test Ok" + result.Count().ToString(); |
|
54 |
txtLog.Text += "Test Ok" + result.Count().ToString();
|
|
54 | 55 |
} |
55 | 56 |
} |
56 | 57 |
catch (Exception ex) |
내보내기 Unified diff