DB context The Entoty Framework connection string: FootlooseFSContext must be defined in application configuration
Inheritance: DbContext
Exemple #1
0
 public FootlooseFSSqlUnitOfWork()
 {
     _dbContext = new FootlooseFSDBContext();
 }
 public FootlooseFSSqlUnitOfWork()
 {
     _dbContext = new FootlooseFSDBContext();
 }
 public FootlooseFSSqlUnitOfWork(string connectionString, bool allowUpdates)
 {
     _dbContext        = new FootlooseFSDBContext(connectionString);
     this.allowUpdates = allowUpdates;
 }