Beispiel #1
0
        public override void AfterConstruction()
        {
            if (Session.GetObjectByKey <SysUser>(SecuritySystem.CurrentUserId) != null)
            {
                Creator = Session.GetObjectByKey <SysUser>(SecuritySystem.CurrentUserId);
            }

            dt_CreateDate = DateTime.Now;
            s_Valid       = "待定";
            ContactRecords.Add(new ContactRecord(Session)
            {
                StudentInfo = this
            });
            ConsultRecords.Add(new ConsultRecord(Session)
            {
                StudentInfo = this
            });
            base.AfterConstruction();
        }