/// <summary> /// Retrieves the repository object having identifier <paramref name="Id"/> from the database. /// </summary> /// <param name="Id">The identifier of the repository.</param> /// <returns>The semi-populated repository entity if exists, or null.</returns> /// <remarks>The object based attributes of the entity that are persisted as XML are not populated by default. In order to fully populate the entity, call the <see cref="Materialize"/> method.</remarks> public Repository GetRepository(Int64 Id) { Repository r = RepositoryRepo.Get(Id); return(r); }
public IEnumerable <Repository> GetRepository() { return(RepositoryRepo.Get()); }