using System; using System.Collections.Generic; using SqlSugar; namespace HH.WCS.Mobox3.HaiCheng.Util.Helper { [AttributeUsage(AttributeTargets.Class, Inherited = true)] class STAttribute : SugarTable { public static Dictionary attributes = new Dictionary(); public STAttribute(string tableName) : base(tableName) { string value = ""; if (attributes.TryGetValue(TableName, out value)) TableName = value.ToUpper(); } } }