2
Vote

Microsoft.Practices.Repository.RepositoryFactory class using Unity Application Block

description

Attached is an example how the static RepositoryFactory class can work with the Unity Application Block instead of using its own configuration section. Perhaps this is a logical change, because Unity gives you more flexibility in configuring the Repository objects. For example with Unity you can inject the name of the connection string in the Repository objects from the configuration file.

file attachments

comments