Created
June 16, 2011 15:02
-
-
Save aidanmorgan/1029428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IWhiskeyRepository : IRepository<Whiskey> | |
{ | |
/// <summary> | |
/// Creates a new <see cref="Whiskey"/> instance, associates it with the provided <see cref="Distillery"/> and returns the new instance. | |
/// </summary> | |
Whiskey Create(Distillery d, WhiskeyType type); | |
/// <summary> | |
/// Adds the provided <see cref="Whiskey"/> to the database, associating it with the provided <see cref="Distillery"/>. | |
/// </summary> | |
void Add(Distillery d, Whiskey val); | |
/// <summary> | |
/// Removes the provided <see cref="Whiskey"/> from the database. | |
/// </summary> | |
void Remove(Whiskey val); | |
IList<Whiskey> FindByName(string name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment