DataTableAttribute.cs 510 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Ant.ORM
  5. {
  6. /// <summary>
  7. /// ±í±êÇ©
  8. /// </summary>
  9. [AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
  10. public class DataTableAttribute:Attribute
  11. {
  12. private string name;
  13. public string Name
  14. {
  15. get { return name; }
  16. set { name = value; }
  17. }
  18. public DataTableAttribute(string name)
  19. {
  20. this.name = name;
  21. }
  22. }
  23. }