public MyBaseCollection(IEnumerable <T> query, OMSEntities context) { _isLoading = true; _context = context; foreach (T o in query) { this.Add(o); } _isLoading = false; }
public CustomerCollection(IEnumerable <Customer> customers, OMSEntities context) : base(customers, context) { }
public OrdersCollection(IEnumerable <Order> orders, OMSEntities context) : base(orders, context) { }