Skip to content

Instantly share code, notes, and snippets.

@timwingfield
Created March 5, 2010 13:28
Show Gist options
  • Save timwingfield/322717 to your computer and use it in GitHub Desktop.
Save timwingfield/322717 to your computer and use it in GitHub Desktop.
Photo Repo
public interface IPhotoRepository : IRepository<Photo>
{
IList<Photo> GetPhotosByGallery(Gallery gallery);
}
public class PhotoRepository : Repository<Photo>, IPhotoRepository
{
public PhotoRepository(ISession session) : base(session)
{
}
public IList<Photo> GetPhotosByGallery(Gallery gallery)
{
throw new NotImplementedException();
}
}
@aayushru
Copy link

aayushru commented Jan 8, 2023

1672960874095

@aayushru
Copy link

aayushru commented Jan 8, 2023

Repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment