개정판 a23d0a0c
issue #000
프로젝트셍업 수정
Change-Id: Ib85afb675a90c8bb490512837500dd7407e9debb
ID2.Manager/ID2.Manager.Dapper/Repository/BaseRepository.cs | ||
---|---|---|
216 | 216 |
|
217 | 217 |
return await _DbConnection.ExecuteAsync(SQL, parameters, transaction, commandType: commandType); |
218 | 218 |
} |
219 |
|
|
220 |
public T ExecuteScalar<T>(string query, object param, IDbTransaction dbTran) |
|
221 |
{ |
|
222 |
if (_DbConnection.State != ConnectionState.Open) |
|
223 |
{ |
|
224 |
_DbConnection.Open(); |
|
225 |
} |
|
226 |
|
|
227 |
return this._DbConnection.ExecuteScalar<T>(query, param, dbTran); |
|
228 |
} |
|
219 | 229 |
} |
220 | 230 |
} |
내보내기 Unified diff