12345678910111213141516 |
- using System;
- namespace Ant.Entity
- {
- [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
- public class ColumnAttribute : Attribute
- {
- public ColumnAttribute() { }
- public ColumnAttribute(string name)
- {
- this.Name = name;
- }
- public string Name { get; set; }
- public bool IsPrimaryKey { get; set; }
- }
- }
|