v9.10.2019.0101 全面巩固批量Insert/Update/Upsert,支持数据备份、恢复和同步,支持实体列表保存到文件以及加载
大石头
authored at
2019-01-01 13:38:33
X
using System;
using System.ComponentModel;
namespace XControl
{
[AttributeUsage(AttributeTargets.All)]
internal sealed class WebCategoryAttribute : CategoryAttribute
{
// Methods
internal WebCategoryAttribute(string category)
: base(category)
{
}
protected override string GetLocalizedString(string value)
{
string localizedString = base.GetLocalizedString(value);
if (localizedString == null)
{
localizedString = SR.GetString("Category_" + value);
}
return localizedString;
}
// Properties
public override object TypeId
{
get
{
return typeof(CategoryAttribute);
}
}
}
}
|