Example #1
0
        public IEnumerable <InputData> SelectBySerial(string ProdNo, object state = null)
        {
            var data = SapConnection.GetData(ProdNo);

            if (data.Count() == 0)
            {
                yield break;
            }

            foreach (var obj in data.SapAdaptWithSameProperties <InputData>())
            {
                yield return(obj);
            }
        }