using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WMS.Attirubte { /// /// 表的映射时,设计主键 /// [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)] public class TableKeyAttribute : Attribute { /// /// 表的主键 /// public string keyTable = string.Empty; } }