Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Patrick Robin 34 posts 104 karma points
    Oct 21, 2015 @ 11:08
    Patrick Robin
    0

    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:

    var logger = Logger.CreateWithDefaultLog4NetConfiguration();
    var db = new UmbracoDatabase("umbracoDbDSN", logger);
    
Please Sign in or register to post replies

Write your reply to:

Draft