public static IRepository <T> GetRepository <T>() where T : class { var dbContext = new K9DbContext("k94warriors_dbEntities"); return(new EFRepository <T>(dbContext)); }
public static IRepository <T> GetRepository <T>() where T : class { var dbContext = new K9DbContext("K9"); return(new EFRepository <T>(dbContext)); }
public static IRepository <T> GetRepository <T>(string connectionName) where T : class { var dbContext = new K9DbContext(connectionName); return(new EFRepository <T>(dbContext)); }