コード例 #1
0
        public BrokerBO GetBroker(string brokerName)
        {
            var _brokerEntity = repo.GetbyField(brokerName);

            if (_brokerEntity != null)
            {
                BrokerBO bo = new BrokerBO()
                {
                    BrokerName = brokerName,
                    BrokerId   = _brokerEntity.brokerid,
                    BrokerKey  = _brokerEntity.brokerkey,
                    Address    = new DeliveryOrderDL().GetAddress(_brokerEntity.addrkey)
                };
                return(bo);
            }
            return(null);
        }