How can I check new generated random in database and if it exists than again generate new in Entity Framework

前端 未结 0 1537
走了就别回头了
走了就别回头了 2020-12-05 11:27
    **var randnumber = CommonClass.Generate8DigitHBFNumber();
    
    bool CheckCaseRef = CheckCaseRefIdAlreadyExistsInDB(randnumber);
    
    if (CheckCaseRef)
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题