public virtual ViewConfigurationModel GetBy(ViewConfigurationModelNameCriteria criteria)
        {
            Type entityType = ClientEntities.Find(criteria.EntityType).EntityType;

            var evm = UIModel.Views.Create(entityType, criteria.ViewName);

            var m = new ViewConfigurationModel();

            m.Read(evm);
            (m as IDirtyAware).MarkSaved();

            return(m);
        }
 /// <summary>
 /// 导航面板查询
 /// </summary>
 /// <param name="criteria"></param>
 protected EntityList FetchBy(ViewConfigurationModelNameCriteria criteria)
 {
     Type entityType = ClientEntities.Find(criteria.EntityType).EntityType;
     return this.DA_GetByEntity(entityType, criteria.ViewName);
 }
 /// <summary>
 /// 导航面板查询
 /// </summary>
 /// <param name="criteria"></param>
 protected EntityList FetchBy(ViewConfigurationModelNameCriteria criteria)
 {
     Type entityType = ClientEntities.Find(criteria.EntityType).EntityType;
     return this.DA_GetByEntity(entityType, criteria.ViewName);
 }
 public ViewConfigurationModel GetByName(ViewConfigurationModelNameCriteria c)
 {
     return this.FetchFirst(c);
 }
 public ViewConfigurationModel GetByName(ViewConfigurationModelNameCriteria c)
 {
     return this.FetchFirst(c);
 }