public static SiteCondition Select(Guid id)
        {
            if (id == Guid.Empty)
            {
                throw new IbaArgumentException("Empty Guid passed to SiteCondition.Select");
            }

            return(BaseMapper.LoadSingleObjectById <SiteCondition>(Load, SELECT_STORED_PROC, id));
        }
        public static Site Select(Guid siteId)
        {
            if (siteId == Guid.Empty)
            {
                throw new IbaArgumentException("Empty Guid passed to Site.Select");
            }

            return(BaseMapper.LoadSingleObjectById <Site>(Load, SELECT_STORED_PROC, siteId));
        }
Beispiel #3
0
        public static FiftyMeterPointSurvey Select(Guid id)
        {
            guidGuardClause(id, "Select");

            return(BaseMapper.LoadSingleObjectById <FiftyMeterPointSurvey>(Load, SELECT_STORED_PROC, id));
        }
Beispiel #4
0
        public static Species Select(Guid id)
        {
            guidGuardClause(id, "Select");

            return(BaseMapper.LoadSingleObjectById <Species>(Load, SELECT_STORED_PROC, id));
        }
Beispiel #5
0
 /// <summary>
 /// Retrieves a specific <see cref="SamplingPoint"/> object by its unique identifier.
 /// </summary>
 /// <param name="pointId">The point id.</param>
 /// <returns>Instance of <see cref="SamplingPoint"/></returns>
 public static SamplingPoint Select(Guid pointId)
 {
     return(BaseMapper.LoadSingleObjectById <SamplingPoint>(Load, SELECT_STORED_PROC, pointId));
 }
        public static Person Select(string openId)
        {
            openIdGuardClause(openId, "Select");

            return(BaseMapper.LoadSingleObjectById <Person>(Load, SELECT_STORED_PROC, "OpenId", openId));
        }