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.

29 lines
619 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Apewer.Source
  5. {
  6. /// <summary>数据库引擎的执行结果。</summary>
  7. public interface IExecute
  8. {
  9. /// <summary>语句执行成功。</summary>
  10. bool Success { get; }
  11. /// <summary>受影响的行数。</summary>
  12. int Rows { get; }
  13. /// <summary>错误消息。</summary>
  14. string Error { get; }
  15. /// <summary>消息。</summary>
  16. string Message { get; }
  17. /// <summary>执行失败时的异常。</summary>
  18. Exception Exception { get; }
  19. }
  20. }