SqlNote.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. namespace Ant.ORM
  7. {
  8. /// <summary>
  9. /// SQL注释
  10. /// </summary>
  11. public class SqlNote
  12. {
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. /// <param name="author"></param>
  17. /// <param name="sqldesc"></param>
  18. /// <param name="newstr"></param>
  19. public SqlNote(string author,string sqldesc,StackTrace newstr)
  20. {
  21. this.Author = author;
  22. this.SqlDesc = sqldesc;
  23. this.NewSt = newstr;
  24. }
  25. /// <summary>
  26. ///
  27. /// </summary>
  28. public SqlNote()
  29. {
  30. }
  31. /// <summary>
  32. /// 获取文件信息
  33. /// </summary>
  34. public StackTrace NewSt { get; set; }
  35. /// <summary>
  36. /// 作者
  37. /// </summary>
  38. public string Author { get; set; }
  39. /// <summary>
  40. /// 方法备注
  41. /// </summary>
  42. public string SqlDesc { get; set; }
  43. }
  44. }