개정판 ff990784
issue #0000
- document 저장 성공 시 markus document 저장 하도록 수정
- document no 중복 체크(서버체크)
Change-Id: Id4a5a4f91041447d0080ce8b45e15139a0609a1c
ID2.Manager/ID2.Manager.Dapper/Repository/BaseRepository.cs | ||
---|---|---|
220 | 220 |
|
221 | 221 |
return await _DbConnection.ExecuteAsync(SQL, parameters, transaction, commandType: commandType); |
222 | 222 |
} |
223 |
public T ExecuteScalar<T>(string query, object param) |
|
224 |
{ |
|
225 |
if (this._DbConnection.State != ConnectionState.Open) |
|
226 |
{ |
|
227 |
this._DbConnection.Open(); |
|
228 |
} |
|
229 |
|
|
230 |
return this._DbConnection.ExecuteScalar<T>(query, param); |
|
231 |
} |
|
232 |
|
|
223 | 233 |
|
224 | 234 |
public T ExecuteScalar<T>(string query, object param, IDbTransaction dbTran) |
225 | 235 |
{ |
내보내기 Unified diff