纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

628 lines
24 KiB

3 years ago
  1. using NFine.Code;
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using System.Data;
  6. using System.Data.Common;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace NFine.Repository
  11. {
  12. public interface IRepository<T> where T : new()
  13. {
  14. #region 事务
  15. /// <summary>
  16. /// 事务开始
  17. /// </summary>
  18. /// <returns></returns>
  19. DbTransaction BeginTrans();
  20. /// <summary>
  21. /// 提交事务
  22. /// </summary>
  23. void Commit();
  24. /// <summary>
  25. /// 回滚事务
  26. /// </summary>
  27. void Rollback();
  28. /// <summary>
  29. /// 关闭数据库连接
  30. /// </summary>
  31. void Close();
  32. #endregion
  33. #region SqlBulkCopy大批量数据插入
  34. /// <summary>
  35. /// 大批量数据插入
  36. /// </summary>
  37. /// <param name="datatable">资料表</param>
  38. /// <returns></returns>
  39. bool BulkInsert(DataTable datatable);
  40. #endregion
  41. #region 执行SQL语句
  42. /// <summary>
  43. /// 执行SQL语句
  44. /// </summary>
  45. /// <param name="strSql">Sql语句</param>
  46. /// <returns></returns>
  47. int ExecuteBySql(StringBuilder strSql);
  48. /// <summary>
  49. /// 执行SQL语句
  50. /// </summary>
  51. /// <param name="strSql">Sql语句</param>
  52. /// <param name="isOpenTrans">事务对象</param>
  53. /// <returns></returns>
  54. int ExecuteBySql(StringBuilder strSql, DbTransaction isOpenTrans);
  55. /// <summary>
  56. /// 执行SQL语句
  57. /// </summary>
  58. /// <param name="strSql">Sql语句</param>
  59. /// <param name="parameters">sql语句对应参数</param>
  60. /// <returns></returns>
  61. int ExecuteBySql(StringBuilder strSql, DbParameter[] parameters);
  62. /// <summary>
  63. /// 执行SQL语句
  64. /// </summary>
  65. /// <param name="strSql">Sql语句</param>
  66. /// <param name="parameters">sql语句对应参数</param>
  67. /// <param name="isOpenTrans">事务对象</param>
  68. /// <returns></returns>
  69. int ExecuteBySql(StringBuilder strSql, DbParameter[] parameters, DbTransaction isOpenTrans);
  70. #endregion
  71. #region 执行存储过程
  72. /// <summary>
  73. /// 执行存储过程
  74. /// </summary>
  75. /// <param name="procName">存储过程</param>
  76. /// <returns></returns>
  77. int ExecuteByProc(string procName);
  78. /// <summary>
  79. /// 执行存储过程
  80. /// </summary>
  81. /// <param name="procName">存储过程</param>
  82. /// <param name="isOpenTrans">事务对象</param>
  83. /// <returns></returns>
  84. int ExecuteByProc(string procName, DbTransaction isOpenTrans);
  85. /// <summary>
  86. /// 执行存储过程
  87. /// </summary>
  88. /// <param name="procName">存储过程</param>
  89. /// <param name="parameters">sql语句对应参数</param>
  90. /// <returns></returns>
  91. int ExecuteByProc(string procName, DbParameter[] parameters);
  92. /// <summary>
  93. /// 执行存储过程
  94. /// </summary>
  95. /// <param name="procName">存储过程</param>
  96. /// <param name="parameters">sql语句对应参数</param>
  97. /// <param name="isOpenTrans">事务对象</param>
  98. /// <returns></returns>
  99. int ExecuteByProc(string procName, DbParameter[] parameters, DbTransaction isOpenTrans);
  100. #endregion
  101. #region 插入数据
  102. /// <summary>
  103. /// 插入数据
  104. /// </summary>
  105. /// <param name="entity">实体类对象</param>
  106. /// <returns></returns>
  107. int Insert(T entity);
  108. /// <summary>
  109. /// 插入数据
  110. /// </summary>
  111. /// <param name="entity">实体类对象</param>
  112. /// <param name="isOpenTrans">事务对象</param>
  113. /// <returns></returns>
  114. int Insert(T entity, DbTransaction isOpenTrans);
  115. /// <summary>
  116. /// 批量插入数据
  117. /// </summary>
  118. /// <param name="entity">实体类对象</param>
  119. /// <returns></returns>
  120. int Insert(List<T> entity);
  121. /// <summary>
  122. /// 批量插入数据
  123. /// </summary>
  124. /// <param name="entity">实体类对象</param>
  125. /// <param name="isOpenTrans">事务对象</param>
  126. /// <returns></returns>
  127. int Insert(List<T> entity, DbTransaction isOpenTrans);
  128. #endregion
  129. #region 修改数据
  130. /// <summary>
  131. /// 修改数据
  132. /// </summary>
  133. /// <param name="entity">实体对象</param>
  134. /// <returns></returns>
  135. int Update(T entity);
  136. /// <summary>
  137. /// 修改数据
  138. /// </summary>
  139. /// <param name="entity">实体对象</param>
  140. /// <param name="isOpenTrans">事务对象</param>
  141. /// <returns></returns>
  142. int Update(T entity, DbTransaction isOpenTrans);
  143. /// <summary>
  144. /// 修改数据
  145. /// </summary>
  146. /// <param name="propertyName">实体属性名称</param>
  147. /// <param name="propertyValue">字段值</param>
  148. /// <returns></returns>
  149. int Update(string propertyName, string propertyValue);
  150. /// <summary>
  151. /// 修改数据
  152. /// </summary>
  153. /// <param name="propertyName">实体属性名称</param>
  154. /// <param name="propertyValue">字段值</param>
  155. /// <param name="isOpenTrans">事务对象</param>
  156. /// <returns></returns>
  157. int Update(string propertyName, string propertyValue, DbTransaction isOpenTrans);
  158. /// <summary>
  159. /// 批量修改数据
  160. /// </summary>
  161. /// <param name="entity">实体对象</param>
  162. /// <returns></returns>
  163. int Update(List<T> entity);
  164. /// <summary>
  165. /// 批量修改数据
  166. /// </summary>
  167. /// <param name="entity">实体对象</param>
  168. /// <param name="isOpenTrans">事务对象</param>
  169. /// <returns></returns>
  170. int Update(List<T> entity, DbTransaction isOpenTrans);
  171. #endregion
  172. #region 删除数据
  173. /// <summary>
  174. /// 删除数据
  175. /// </summary>
  176. /// <param name="entity">实体类</param>
  177. /// <returns></returns>
  178. int Delete(T entity);
  179. /// <summary>
  180. /// 删除数据
  181. /// </summary>
  182. /// <param name="entity">实体类</param>
  183. /// <param name="isOpenTrans">事务对象</param>
  184. /// <returns></returns>
  185. int Delete(T entity, DbTransaction isOpenTrans);
  186. /// <summary>
  187. /// 删除数据
  188. /// </summary>
  189. /// <param name="propertyValue">主键值</param>
  190. /// <returns></returns>
  191. int Delete(object propertyValue);
  192. /// <summary>
  193. /// 删除数据
  194. /// </summary>
  195. /// <param name="propertyValue">主键值</param>
  196. /// <param name="isOpenTrans">事务对象</param>
  197. /// <returns></returns>
  198. int Delete(object propertyValue, DbTransaction isOpenTrans);
  199. /// <summary>
  200. /// 删除数据
  201. /// </summary>
  202. /// <param name="propertyName">实体属性名称</param>
  203. /// <param name="propertyValue">字段值</param>
  204. /// <returns></returns>
  205. int Delete(string propertyName, string propertyValue);
  206. /// <summary>
  207. /// 删除数据
  208. /// </summary>
  209. /// <param name="propertyName">实体属性名称</param>
  210. /// <param name="propertyValue">字段值</param>
  211. /// <param name="isOpenTrans">事务对象</param>
  212. /// <returns></returns>
  213. int Delete(string propertyName, string propertyValue, DbTransaction isOpenTrans);
  214. /// <summary>
  215. /// 删除数据
  216. /// </summary>
  217. /// <param name="tableName">表名</param>
  218. /// <param name="ht">键值生成SQL条件</param>
  219. /// <returns></returns>
  220. int Delete(string tableName, Hashtable ht);
  221. /// <summary>
  222. /// 删除数据
  223. /// </summary>
  224. /// <param name="tableName">表名</param>
  225. /// <param name="ht">键值生成SQL条件</param>
  226. /// <param name="isOpenTrans">事务对象</param>
  227. /// <returns></returns>
  228. int Delete(string tableName, Hashtable ht, DbTransaction isOpenTrans);
  229. /// <summary>
  230. /// 批量删除数据
  231. /// </summary>
  232. /// <param name="propertyValue">主键值:数组1,2,3,4,5,6.....</param>
  233. /// <returns></returns>
  234. int Delete(object[] propertyValue);
  235. /// <summary>
  236. /// 批量删除数据
  237. /// </summary>
  238. /// <param name="propertyValue">主键值:数组1,2,3,4,5,6.....</param>
  239. /// <param name="isOpenTrans">事务对象</param>
  240. /// <returns></returns>
  241. int Delete(object[] propertyValue, DbTransaction isOpenTrans);
  242. /// <summary>
  243. /// 批量删除数据
  244. /// </summary>
  245. /// <param name="propertyName">实体属性名称</param>
  246. /// <param name="propertyValue">字段值:数组1,2,3,4,5,6.....</param>
  247. /// <returns></returns>
  248. int Delete(string propertyName, object[] propertyValue);
  249. /// <summary>
  250. /// 批量删除数据
  251. /// </summary>
  252. /// <param name="propertyName">实体属性名称</param>
  253. /// <param name="propertyValue">字段值:数组1,2,3,4,5,6.....</param>
  254. /// <param name="isOpenTrans">事务对象</param>
  255. /// <returns></returns>
  256. int Delete(string propertyName, object[] propertyValue, DbTransaction isOpenTrans);
  257. #endregion
  258. #region 查询数据列表、返回List
  259. /// <summary>
  260. /// 查询数据列表、返回List
  261. /// </summary>
  262. /// <param name="Top">显示条数</param>
  263. /// <returns></returns>
  264. List<T> FindListTop(int Top);
  265. /// <summary>
  266. /// 查询数据列表、返回List
  267. /// </summary>
  268. /// <param name="Top">显示条数</param>
  269. /// <param name="propertyName">实体属性名称</param>
  270. /// <param name="propertyValue">字段值</param>
  271. /// <returns></returns>
  272. List<T> FindListTop(int Top, string propertyName, string propertyValue);
  273. /// <summary>
  274. /// 查询数据列表、返回List
  275. /// </summary>
  276. /// <param name="Top">显示条数</param>
  277. /// <param name="WhereSql">条件</param>
  278. /// <returns></returns>
  279. List<T> FindListTop(int Top, string WhereSql);
  280. /// <summary>
  281. /// 查询数据列表、返回List
  282. /// </summary>
  283. /// <param name="Top">显示条数</param>
  284. /// <param name="WhereSql">条件</param>
  285. /// <param name="parameters">sql语句对应参数</param>
  286. /// <returns></returns>
  287. List<T> FindListTop(int Top, string WhereSql, DbParameter[] parameters);
  288. /// <summary>
  289. /// 查询数据列表、返回List
  290. /// </summary>
  291. /// <returns></returns>
  292. List<T> FindList();
  293. /// <summary>
  294. /// 查询数据列表、返回List
  295. /// </summary>
  296. /// <param name="propertyName">实体属性名称</param>
  297. /// <param name="propertyValue">字段值</param>
  298. /// <returns></returns>
  299. List<T> FindList(string propertyName, string propertyValue);
  300. /// <summary>
  301. /// 查询数据列表、返回List
  302. /// </summary>
  303. /// <param name="WhereSql">条件</param>
  304. /// <returns></returns>
  305. List<T> FindList(string WhereSql);
  306. /// <summary>
  307. /// 查询数据列表、返回List
  308. /// </summary>
  309. /// <param name="WhereSql">条件</param>
  310. /// <param name="parameters">sql语句对应参数</param>
  311. /// <returns></returns>
  312. List<T> FindList(string WhereSql, DbParameter[] parameters);
  313. /// <summary>
  314. /// 查询数据列表、返回List
  315. /// </summary>
  316. /// <param name="strSql">Sql语句</param>
  317. /// <returns></returns>
  318. List<T> FindListBySql(string strSql);
  319. /// <summary>
  320. /// 查询数据列表、返回List
  321. /// </summary>
  322. /// <param name="strSql">Sql语句</param>
  323. /// <param name="parameters">sql语句对应参数</param>
  324. /// <returns></returns>
  325. List<T> FindListBySql(string strSql, DbParameter[] parameters);
  326. /// <summary>
  327. /// 查询数据列表、返回List
  328. /// </summary>
  329. /// <param name="Pagination">分页参数</param>
  330. /// <returns></returns>
  331. List<T> FindListPage(ref Pagination Pagination);
  332. /// <summary>
  333. /// 查询数据列表、返回List
  334. /// </summary>
  335. /// <param name="WhereSql">条件</param>
  336. /// <param name="Pagination">分页参数</param>
  337. /// <returns></returns>
  338. List<T> FindListPage(string WhereSql, ref Pagination Pagination);
  339. /// <summary>
  340. /// 查询数据列表、返回List
  341. /// </summary>
  342. /// <param name="WhereSql">条件</param>
  343. /// <param name="parameters">sql语句对应参数</param>
  344. /// <param name="Pagination">分页参数</param>
  345. /// <returns></returns>
  346. List<T> FindListPage(string WhereSql, DbParameter[] parameters, ref Pagination Pagination);
  347. /// <summary>
  348. /// 查询数据列表、返回List
  349. /// </summary>
  350. /// <param name="strSql">Sql语句</param>
  351. /// <param name="Pagination">分页参数</param>
  352. /// <returns></returns>
  353. List<T> FindListPageBySql(string strSql, ref Pagination Pagination);
  354. /// <summary>
  355. /// 查询数据列表、返回List
  356. /// </summary>
  357. /// <param name="strSql">Sql语句</param>
  358. /// <param name="Pagination">分页参数</param>
  359. /// <returns></returns>
  360. List<T> FindListPageBySql(string strSql, DbParameter[] parameters, ref Pagination Pagination);
  361. #endregion
  362. #region 查询数据列表、返回DataTable
  363. /// <summary>
  364. /// 查询数据列表、返回 DataTable
  365. /// </summary>
  366. /// <param name="Top">显示条数</param>
  367. /// <returns></returns>
  368. DataTable FindTableTop(int Top);
  369. /// <summary>
  370. /// 查询数据列表、返回 DataTable
  371. /// </summary>
  372. /// <param name="Top">显示条数</param>
  373. /// <param name="WhereSql">条件</param>
  374. /// <returns></returns>
  375. DataTable FindTableTop(int Top, string WhereSql);
  376. /// <summary>
  377. /// 查询数据列表、返回 DataTable
  378. /// </summary>
  379. /// <param name="Top">显示条数</param>
  380. /// <param name="WhereSql">条件</param>
  381. /// <param name="parameters">sql语句对应参数</param>
  382. /// <returns></returns>
  383. DataTable FindTableTop(int Top, string WhereSql, DbParameter[] parameters);
  384. /// <summary>
  385. /// 查询数据列表、返回 DataTable
  386. /// </summary>
  387. /// <returns></returns>
  388. DataTable FindTable();
  389. /// <summary>
  390. /// 查询数据列表、返回 DataTable
  391. /// </summary>
  392. /// <param name="WhereSql">条件</param>
  393. /// <returns></returns>
  394. DataTable FindTable(string WhereSql);
  395. /// <summary>
  396. /// 查询数据列表、返回 DataTable
  397. /// </summary>
  398. /// <param name="WhereSql">条件</param>
  399. /// <param name="parameters">sql语句对应参数</param>
  400. /// <returns></returns>
  401. DataTable FindTable(string WhereSql, DbParameter[] parameters);
  402. /// <summary>
  403. /// 查询数据列表、返回 DataTable
  404. /// </summary>
  405. /// <param name="strSql">Sql语句</param>
  406. /// <returns></returns>
  407. DataTable FindTableBySql(string strSql);
  408. /// <summary>
  409. /// 查询数据列表、返回 DataTable
  410. /// </summary>
  411. /// <param name="strSql">Sql语句</param>
  412. /// <param name="parameters">sql语句对应参数</param>
  413. /// <returns></returns>
  414. DataTable FindTableBySql(string strSql, DbParameter[] parameters);
  415. /// <summary>
  416. /// 查询数据列表、返回 DataTable
  417. /// </summary>
  418. /// <param name="orderField">排序字段</param>
  419. /// <param name="orderType">排序类型</param>
  420. /// <param name="pageIndex">当前页</param>
  421. /// <param name="pageSize">页大小</param>
  422. /// <param name="recordCount">返回查询条数</param>
  423. /// <returns></returns>
  424. DataTable FindTablePage(ref Pagination Pagination);
  425. /// <summary>
  426. /// 查询数据列表、返回 DataTable
  427. /// </summary>
  428. /// <param name="WhereSql">条件</param>
  429. /// <param name="Pagination">分页参数</param>
  430. /// <returns></returns>
  431. DataTable FindTablePage(string WhereSql, ref Pagination Pagination);
  432. /// <summary>
  433. /// 查询数据列表、返回 DataTable
  434. /// </summary>
  435. /// <param name="WhereSql">条件</param>
  436. /// <param name="parameters">sql语句对应参数</param>
  437. /// <param name="Pagination">分页参数</param>
  438. /// <returns></returns>
  439. DataTable FindTablePage(string WhereSql, DbParameter[] parameters, ref Pagination Pagination);
  440. /// <summary>
  441. /// 查询数据列表、返回 DataTable
  442. /// </summary>
  443. /// <param name="strSql">Sql语句</param>
  444. /// <param name="Pagination">分页参数</param>
  445. /// <returns></returns>
  446. DataTable FindTablePageBySql(string strSql, ref Pagination Pagination);
  447. /// <summary>
  448. /// 查询数据列表、返回 DataTable
  449. /// </summary>
  450. /// <param name="strSql">Sql语句</param>
  451. /// <param name="parameters">sql语句对应参数</param>
  452. /// <param name="Pagination">分页参数</param>
  453. /// <returns></returns>
  454. DataTable FindTablePageBySql(string strSql, DbParameter[] parameters, ref Pagination Pagination);
  455. /// <summary>
  456. /// 查询数据列表、返回 DataTable
  457. /// </summary>
  458. /// <param name="procName">存储过程</param>
  459. /// <returns></returns>
  460. DataTable FindTableByProc(string procName);
  461. /// <summary>
  462. /// 查询数据列表、返回 DataTable
  463. /// </summary>
  464. /// <param name="procName">存储过程</param>
  465. /// <param name="parameters">sql语句对应参数</param>
  466. /// <returns></returns>
  467. DataTable FindTableByProc(string procName, DbParameter[] parameters);
  468. #endregion
  469. #region 查询数据列表、返回DataSet
  470. /// <summary>
  471. /// 查询数据列表、返回DataSet
  472. /// </summary>
  473. /// <param name="strSql">Sql语句</param>
  474. /// <returns></returns>
  475. DataSet FindDataSetBySql(string strSql);
  476. /// <summary>
  477. /// 查询数据列表、返回DataSet
  478. /// </summary>
  479. /// <param name="strSql">Sql语句</param>
  480. /// <param name="parameters">sql语句对应参数</param>
  481. /// <returns></returns>
  482. DataSet FindDataSetBySql(string strSql, DbParameter[] parameters);
  483. /// <summary>
  484. /// 查询数据列表、返回DataSet
  485. /// </summary>
  486. /// <param name="strSql">存储过程</param>
  487. /// <returns></returns>
  488. DataSet FindDataSetByProc(string procName);
  489. /// <summary>
  490. /// 查询数据列表、返回DataSet
  491. /// </summary>
  492. /// <param name="strSql">存储过程</param>
  493. /// <param name="parameters">sql语句对应参数</param>
  494. /// <returns></returns>
  495. DataSet FindDataSetByProc(string procName, DbParameter[] parameters);
  496. #endregion
  497. #region 查询对象、返回实体
  498. /// <summary>
  499. /// 查询对象、返回实体
  500. /// </summary>
  501. /// <param name="propertyValue">主键值</param>
  502. /// <returns></returns>
  503. T FindEntity(object propertyValue);
  504. /// <summary>
  505. /// 查询对象、返回实体
  506. /// </summary>
  507. /// <param name="propertyName">实体属性名称</param>
  508. /// <param name="propertyValue">字段值</param>
  509. /// <returns></returns>
  510. T FindEntity(string propertyName, object propertyValue);
  511. /// <summary>
  512. /// 查询对象、返回实体
  513. /// </summary>
  514. /// <param name="WhereSql">条件</param>
  515. /// <returns></returns>
  516. T FindEntityByWhere(string WhereSql);
  517. /// <summary>
  518. /// 查询对象、返回实体
  519. /// </summary>
  520. /// <param name="WhereSql">条件</param>
  521. /// <param name="parameters">sql语句对应参数</param>
  522. /// <returns></returns>
  523. T FindEntityByWhere(string WhereSql, DbParameter[] parameters);
  524. /// <summary>
  525. /// 查询对象、返回实体
  526. /// </summary>
  527. /// <param name="strSql">Sql语句</param>
  528. /// <returns></returns>
  529. T FindEntityBySql(string strSql);
  530. /// <summary>
  531. /// 查询对象、返回实体
  532. /// </summary>
  533. /// <param name="strSql">Sql语句</param>
  534. /// <param name="parameters">sql语句对应参数</param>
  535. /// <returns></returns>
  536. T FindEntityBySql(string strSql, DbParameter[] parameters);
  537. #endregion
  538. #region 查询数据、返回条数
  539. /// <summary>
  540. /// 查询数据、返回条数
  541. /// </summary>
  542. /// <returns></returns>
  543. int FindCount();
  544. /// <summary>
  545. /// 查询数据、返回条数
  546. /// <param name="propertyName">实体属性名称</param>
  547. /// <param name="propertyValue">字段值</param>
  548. /// </summary>
  549. /// <returns></returns>
  550. int FindCount(string propertyName, string propertyValue);
  551. /// <summary>
  552. /// 查询数据、返回条数
  553. /// </summary>
  554. /// <param name="WhereSql">条件</param>
  555. /// <returns></returns>
  556. int FindCount(string WhereSql);
  557. /// <summary>
  558. /// 查询数据、返回条数
  559. /// </summary>
  560. /// <param name="WhereSql">条件</param>
  561. /// <param name="parameters">sql语句对应参数</param>
  562. /// <returns></returns>
  563. int FindCount(string WhereSql, DbParameter[] parameters);
  564. /// <summary>
  565. /// 查询数据、返回条数
  566. /// </summary>
  567. /// <param name="strSql">Sql语句</param>
  568. /// <returns></returns>
  569. int FindCountBySql(string strSql);
  570. /// <summary>
  571. /// 查询数据、返回条数
  572. /// </summary>
  573. /// <param name="strSql">Sql语句</param>
  574. /// <param name="parameters">sql语句对应参数</param>
  575. /// <returns></returns>
  576. int FindCountBySql(string strSql, DbParameter[] parameters);
  577. #endregion
  578. #region 查询数据、返回最大数
  579. /// <summary>
  580. /// 查询数据、返回最大数
  581. /// </summary>
  582. /// <param name="propertyName">实体属性名称</param>
  583. /// <returns></returns>
  584. object FindMax(string propertyName);
  585. /// <summary>
  586. /// 查询数据、返回最大数
  587. /// </summary>
  588. /// <param name="propertyName">实体属性名称</param>
  589. /// <param name="WhereSql">条件</param>
  590. /// <returns></returns>
  591. object FindMax(string propertyName, string WhereSql);
  592. /// <summary>
  593. /// 查询数据、返回最大数
  594. /// </summary>
  595. /// <param name="propertyName">实体属性名称</param>
  596. /// <param name="WhereSql">条件</param>
  597. /// <param name="parameters">sql语句对应参数</param>
  598. /// <returns></returns>
  599. object FindMax(string propertyName, string WhereSql, DbParameter[] parameters);
  600. /// <summary>
  601. /// 查询数据、返回最大数
  602. /// </summary>
  603. /// <param name="strSql">Sql语句</param>
  604. /// <returns></returns>
  605. object FindMaxBySql(string strSql);
  606. /// <summary>
  607. /// 查询数据、返回最大数
  608. /// </summary>
  609. /// <param name="strSql">Sql语句</param>
  610. /// <param name="parameters">sql语句对应参数</param>
  611. /// <returns></returns>
  612. object FindMaxBySql(string strSql, DbParameter[] parameters);
  613. #endregion
  614. }
  615. }