Example #1
0
        public IEnumerable <SPMaxTableMasterIdResult> GetMaxTableMasterId(string TableName)
        {
            var _data = _Context.SP_ASMaxTableMasterIdResult(TableName).ToList();
            List <SPMaxTableMasterIdResult> objSPMaxTableMasterIdResultList = new List <SPMaxTableMasterIdResult>();

            foreach (var _Item in _data)
            {
                SPMaxTableMasterIdResult _SPMaxTableMasterIdResult = new SPMaxTableMasterIdResult();

                _SPMaxTableMasterIdResult.MasterId = _Item.MasterId;

                objSPMaxTableMasterIdResultList.Add(_SPMaxTableMasterIdResult);
            }

            return(objSPMaxTableMasterIdResultList.ToList());
        }