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