Created
May 4, 2015 04:43
-
-
Save codeprogression/028f1b3b3708f7500233 to your computer and use it in GitHub Desktop.
IDatabaseConfiguration
This file contains hidden or 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
namespace CodeProgression.FoodJournal.Core.Data | |
{ | |
public interface IDatabaseConfiguration { | |
void Configure(); | |
ITransactionWrapper GetTransaction(); | |
bool IsValid{ get; } | |
void Register<T>(T instance) where T: class; | |
void Register<T, U>(U instance) where T:class where U: class; | |
T Resolve<T>() where T: class; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment