Exemple #1
0
 /// <summary>
 /// 验证数据节点id是否重复
 /// 通过主键ID来确定操作是新增还是编辑状态
 /// </summary>
 /// <param name="authTokenModel">数据节点对象</param>
 /// <returns></returns>
 public bool VerifyDataNodeRepeat(DataNodeInfo dataNodeInfoModel)
 {
     return(dataAuthorizeDataProvider.VerifyDataNodeRepeat(dataNodeInfoModel));
 }
Exemple #2
0
 /// <summary>
 /// 新增
 /// </summary>
 /// <param name="authTokenModel">数据节点对象</param>
 /// <returns></returns>
 public bool Add(DataNodeInfo dataNodeInfoModel)
 {
     return(dataAuthorizeDataProvider.Add(dataNodeInfoModel));
 }
Exemple #3
0
 /// <summary>
 /// 编辑
 /// </summary>
 /// <param name="authTokenModel">数据节点对象</param>
 /// <returns></returns>
 public bool Change(DataNodeInfo dataNodeInfoModel)
 {
     return(dataAuthorizeDataProvider.Change(dataNodeInfoModel));
 }
Exemple #4
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="authTokenModel">数据节点对象</param>
 /// <returns></returns>
 public bool Delete(DataNodeInfo dataNodeInfoModel)
 {
     return(dataAuthorizeDataProvider.Delete(dataNodeInfoModel));
 }