コード例 #1
0
ファイル: Sites.cs プロジェクト: object8421/ichari
        public Sites(long siteid)
        {
            _connStr = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"];
            if (string.IsNullOrEmpty(_connStr))
            {
                _connStr = PF.ConnectString;
            }
            SiteNotificationTemplates = new SiteNotificationTemplates(this);
            SiteOptions = new SiteOptions(this);

            ID = siteid;

            ParentID    = -1;
            OwnerUserID = -1;

            Name              = "";
            LogoUrl           = "";
            Company           = "";
            Address           = "";
            PostCode          = "";
            ResponsiblePerson = "";
            ContactPerson     = "";
            Telephone         = "";
            Fax                        = "";
            Mobile                     = "";
            Email                      = "";
            QQ                         = "";
            ServiceTelephone           = "";
            ICPCert                    = "";
            Level                      = -1;
            ON                         = false;
            BonusScale                 = 0;
            MaxSubSites                = 0;
            UseLotteryListRestrictions = "";
            UseLotteryList             = "";
            UseLotteryListQuickBuy     = "";

            AdministratorID = -1;

            _urls = "";
            Url   = "";

            PageTitle    = "";
            PageKeywords = "";
        }
コード例 #2
0
ファイル: Sites.cs プロジェクト: ichari/ichari
        public Sites(long siteid)
        {
            _connStr = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"];
            if (string.IsNullOrEmpty(_connStr))
                _connStr = PF.ConnectString;
            SiteNotificationTemplates = new SiteNotificationTemplates(this);
            SiteOptions = new SiteOptions(this);

            ID = siteid;

            ParentID = -1;
            OwnerUserID = -1;

            Name = "";
            LogoUrl = "";
            Company = "";
            Address = "";
            PostCode = "";
            ResponsiblePerson = "";
            ContactPerson = "";
            Telephone = "";
            Fax = "";
            Mobile = "";
            Email = "";
            QQ = "";
            ServiceTelephone = "";
            ICPCert = "";
            Level = -1;
            ON = false;
            BonusScale = 0;
            MaxSubSites = 0;
            UseLotteryListRestrictions = "";
            UseLotteryList = "";
            UseLotteryListQuickBuy = "";

            AdministratorID = -1;

            _urls = "";
            Url = "";

            PageTitle = "";
            PageKeywords = "";
        }