public string Get(AttributeE attributeID) { string val = ConfigAttributes.Get(attributeID).Value1; if (val == "") { val = Category.Get(attributeID); } return val; }
public string Get(AttributeE attributeID, string defaultValue) { string val = Get(attributeID); return val == "" ? defaultValue : val; }
public string Get(AttributeE attributeID) { string val = ConfigAttributes.Get(attributeID).Value1; return val; }
public static Attribute GetByCode(AttributeE code) { return Config.SysAttributes.Filter("Code=" + code.ToString("d")).First; }
public static int GetID(AttributeE code) { return Attribute.GetByCode(code).ID; }
public string Get(AttributeE code) { string val = ConfigAttributes.Get(code).Value1; return val; }
public string Get(AttributeE attributeID) { string val = ConfigAttributes.Get(attributeID).Value1; if (val == "") { val = Config.DefaultService.ConfigAttributes.Get(attributeID).Value1; } return val; }