ConcurrencyException.cs 900 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Data.Common;
  3. namespace EasyDevCore.Database
  4. {
  5. /// <summary>
  6. ///
  7. /// </summary>
  8. [Serializable]
  9. public class ConcurrencyException : DbException
  10. {
  11. /// <summary>
  12. /// Initializes a new instance of the <see cref="ConcurrencyException"/> class.
  13. /// </summary>
  14. /// <column name="message">The message.</column>
  15. public ConcurrencyException(string message)
  16. : base(message)
  17. {
  18. }
  19. /// <summary>
  20. /// Initializes a new instance of the <see cref="ConcurrencyException"/> class.
  21. /// </summary>
  22. /// <column name="message">The message.</column>
  23. /// <column name="innerException">The inner exception.</column>
  24. public ConcurrencyException(string message, Exception innerException)
  25. : base(message, innerException)
  26. {
  27. }
  28. }
  29. }