Пример #1
0
        private static Site Load(IDataReader reader)
        {
            Site site = new Site();

            site.CodeName = reader.GetStringFromName("CodeName");
            LocationBaseMapper.Load(reader, site);
            return(site);
        }
Пример #2
0
        private static SamplingPoint Load(IDataReader reader)
        {
            SamplingPoint site = new SamplingPoint();

            LocationBaseMapper.Load(reader, site);

            site.SiteId = reader.GetGuidFromName("ParentLocationId");

            return(site);
        }