Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRepository" /> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public UserRepository(RealStateContext context) : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PropertyImageRepository"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public PropertyImageRepository(RealStateContext context) : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GenericRepository{T}"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public GenericRepository(RealStateContext context)
 {
     _context = context;
     Entities = context.Set <T>();
 }