Пример #1
0
 /// <summary>
 /// 添加一条添加记录
 /// </summary>
 public int AddInsertRecord(string uid, URD_ModuleEnum module,string datacode)
 {
     UserRelationData urd = new UserRelationData();
     urd.URD_Operator = uid;
     urd.URD_OpTime = DateTime.Now;
     urd.URD_OpType = URD_TypeEnum.Insert.ToString();
     urd.URD_Module = module.ToString();
     urd.URD_DataCode = datacode;
     return AddInsertRecord(urd);
 }
Пример #2
0
 /// <summary>
 /// 添加一条添加记录
 /// </summary>
 public int AddInsertRecord(UserRelationData urd)
 {
     return Instance.Add(urd);
 }
Пример #3
0
 public int Update(UserRelationData urd)
 {
     return Instance.Update(urd);
 }