Esempio n. 1
0
 /// <summary>
 /// This method gets the IQueryable instances of collection to be used by linq
 /// </summary>
 private void GetIQueryableInstances()
 {
     // Get Extended IQueryable instance to run LINQ write queries
     _prodUpdatable = _productsCollection.AsUpdateable();
     // Get IQueryable instance to run LINQ read queries
     _prodQueryable = _productsCollection.AsQueryable();
 }