Ejemplo n.º 1
0
 protected override void Initialize()
 {
     base.Initialize();
     if (AccessRestriction == null)
     {
         AccessRestriction = new AccessRestriction();
     }
 }
Ejemplo n.º 2
0
 protected override void CreateSuccess()
 {
     base.CreateSuccess();
     Key               = Guid.NewGuid().ToString("N");
     CreateTime        = DateTime.Now;
     DeleteTime        = new DateTime(1970, 1, 1);
     AccessRestriction = new AccessRestriction();
 }