개정판 81d15568
issue #0000
ID2 프로젝트 정보 조회 진행
Change-Id: I48213e8fd4bb8bb8045e07e7a2f3cbcd5080e92b
ID2.Manager/ID2.Manager.Dapper/Repository/ID2Repository.cs | ||
---|---|---|
14 | 14 |
{ |
15 | 15 |
public ID2Repository(string connectionStr, DatabaseType databaseType) : base(connectionStr, databaseType) { } |
16 | 16 |
|
17 |
public IEnumerable<ProjectInfo> GetID2ProjectList() |
|
17 |
public IEnumerable<ID2ProjectInfo> GetID2ProjectList()
|
|
18 | 18 |
{ |
19 | 19 |
string query = $@" |
20 |
select * from dbo.Projects";
|
|
21 |
return Query<ProjectInfo>(query); |
|
20 |
SELECT * FROM Projects ORDER BY Id";
|
|
21 |
return Query<ID2ProjectInfo>(query);
|
|
22 | 22 |
} |
23 | 23 |
} |
24 | 24 |
} |
내보내기 Unified diff