using System; namespace Base { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class NeedSaveAttribute : Attribute { } [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public class UnSaveAttribute : Attribute { } }