public string OperationRestaurantBase(ERRestaurantEntity entity, string operationType)
 {
     if (string.Equals(operationType, "2"))
     {
         entity.RestaurantID = UniqueIDProvider.GetUniqueID();
     }
     return(OperationInvoke("OperationRestaurantBase", entity, operationType) != 0 ? entity.RestaurantID : string.Empty);
 }
 /// <summary>
 /// 增删改:菜肴
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="operationType"></param>
 /// <returns></returns>
 public string OperationCookDetail(ERCookDetailEntity entity, string operationType)
 {
     if (string.Equals(operationType, "2"))
     {
         entity.Code = UniqueIDProvider.GetUniqueID();
     }
     return(OperationInvoke("OperationCookDetail", entity, operationType) != 0 ? entity.Code : string.Empty);
 }
 /// <summary>
 /// 增删改:队伍
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="operationType"></param>
 /// <returns></returns>
 public string OperationTeam(ERTeamDetailEntity entity, string operationType)
 {
     if (string.Equals(operationType, "2"))
     {
         entity.TeamID = UniqueIDProvider.GetUniqueID();
     }
     return(OperationInvoke("OperationTeam", entity, operationType) != 0 ? entity.TeamID : string.Empty);
 }