Exemple #1
0
 /// <summary>
 /// Retrieves a specific <see cref="Observation"/> object by its unique identifier.
 /// </summary>
 /// <typeparam name="T">An leaf of Observation</typeparam>
 /// <param name="observationId">The observation id.</param>
 /// <returns>Instance of <see cref="Observation"/></returns>
 public static T Select <T>(int observationId) where T : Observation
 {
     return(BaseMapper.LoadSingleObjectByIntegerId <T>(Load <T>, SELECT_STORED_PROC, observationId));
 }