I'm implementing the repository pattern in one of my projects so that I'm not repeating database access code all over the place. I just wanted to check, am I safe to use the following code:
var logger = Logger.CreateWithDefaultLog4NetConfiguration();
var db = new UmbracoDatabase("umbracoDbDSN", logger);
Database Repository Pattern
I'm implementing the repository pattern in one of my projects so that I'm not repeating database access code all over the place. I just wanted to check, am I safe to use the following code:
is working on a reply...