Пример #1
0
        public virtual SecPermissionDomain CreateSecPermissionDomain()
        {
            SecPermissionEntity entity = new SecPermissionEntity();
            entity.PermissionId = Guid.NewGuid().ToString();

            return new SecPermissionDomain(entity);
        }
Пример #2
0
 /// <summary>
 /// 创建控件领域对象
 /// </summary>
 /// <returns></returns>
 public virtual PermissionDomain CreatePermissionDomain()
 {
     SecPermissionEntity entity = new SecPermissionEntity();
     entity.PermissionId = Guid.NewGuid().ToString();
     entity.PermissionName = string.Empty;
     entity.PageId = string.Empty;
     entity.ControlId = string.Empty;
     entity.LastModifiedBy = string.Empty;
     entity.LastModifiedTime = DateTime.Now;
     return new PermissionDomain(entity);
 }
Пример #3
0
 public virtual void UpdateSecPermissionEntity(SecPermissionEntity entity, DataAccessBroker broker)
 {
     DataAccess.Update(entity, broker);
 }
Пример #4
0
 public virtual void InsertSecPermissionEntity(SecPermissionEntity entity, DataAccessBroker broker)
 {
     DataAccess.Insert(entity, broker);
 }
Пример #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="SecPageEntity"></param>
 public PermissionDomain(SecPermissionEntity SecPermissionEntity)
     : base(SecPermissionEntity)
 {
 }
Пример #6
0
 public SecPermissionDomain(SecPermissionEntity entity)
     : base(entity)
 {
     masterEntity = entity;
 }