示例#1
0
        public bool IsPatientNoExisting(bool isPatientNoExisting = false)
        {
            MarikinaOpticalEntities dbContext = new MarikinaOpticalEntities();
            var serialNo = dbContext.GetSerialNumber(txtPatientNo.Text);

            foreach (var number in serialNo)
            {
                isPatientNoExisting = true;
            }
            return(isPatientNoExisting);
        }