PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/projects/PigeonCms.Core/BLL/AppSetting.cs

http://pigeoncms.googlecode.com/
C# | 70 lines | 58 code | 6 blank | 6 comment | 0 complexity | 4079b26092e7cfa704dc40993d157fe9 MD5 | raw file
 1using System;
 2using System.Data;
 3using System.Configuration;
 4using System.Web;
 5using System.Web.Security;
 6using System.Web.UI;
 7using System.Web.UI.WebControls;
 8using System.Web.UI.WebControls.WebParts;
 9using System.Web.UI.HtmlControls;
10using System.Diagnostics;
11using System.ComponentModel;
12using System.Collections.Generic;
13using System.Threading;
14
15namespace PigeonCms
16{
17    public class AppSetting
18    {
19        private string keyName = "";
20        private string keyTitle = "";
21        private string keyValue = "";
22        private string keyInfo = "";
23
24        public AppSetting()
25        {
26        }
27
28        /// <summary>
29        /// setting key used as primary key
30        /// </summary>
31        [DataObjectField(true)]
32        public string KeyName
33        {
34            [DebuggerStepThrough()]
35            get { return keyName; }
36            [DebuggerStepThrough()]
37            set { keyName = value; }
38        }
39
40        [DataObjectField(false)]
41        public string KeyTitle
42        {
43            [DebuggerStepThrough()]
44            get { return keyTitle; }
45            [DebuggerStepThrough()]
46            set { keyTitle = value; }
47        }
48
49        [DataObjectField(false)]
50        public string KeyValue
51        {
52            [DebuggerStepThrough()]
53            get { return keyValue; }
54            [DebuggerStepThrough()]
55            set { keyValue = value; }
56        }
57
58        /// <summary>
59        /// info about using the key
60        /// </summary>
61        [DataObjectField(false)]
62        public string KeyInfo
63        {
64            [DebuggerStepThrough()]
65            get { return keyInfo; }
66            [DebuggerStepThrough()]
67            set { keyInfo = value; }
68        }
69    }
70}