コード例 #1
0
 // Database Injection
 // We inject db instead of create, because we will create only one db object for all entity repositories with Unit Of Work Architecture.
 // After Injection, we send the db object to the base.
 public EfAddressRepository(EfProjectContext context) : base(context)
 {
 }
コード例 #2
0
 // Database Injection
 // We inject db instead of create, because we will create only one db object for all entity repositories with Unit Of Work Architecture.
 // After Injection, we send the db object to the base.
 public EfPersonRepository(EfProjectContext context) : base(context)
 {
 }