Exemplo n.º 1
0
 public static IForumDatabase GetDatabase(int type)
 {
     if (type == 1)
     {
         return(SwedishForumDatabaseInstantForum.GetDatabase());
     }
     return(SwedishForumDatabaseVBulletin.GetDatabase());
 }
Exemplo n.º 2
0
 public static IForumDatabase GetDatabase(int type, string connectionstring)
 {
     if (type == 1)
     {
         return(SwedishForumDatabaseInstantForum.GetDatabase(connectionstring));
     }
     return(SwedishForumDatabaseVBulletin.GetDatabase(connectionstring));
 }