public CategoriesCollection Categories_LoadAll() { CategoriesCollection coll = new CategoriesCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public CategoriesCollectionProxyStub Categories_LoadAll() { CategoriesCollection coll = new CategoriesCollection(); if (coll.LoadAll()) { return coll; } return null; }
public jsResponse<CategoriesCollection, Categories> CategoriesCollection_LoadAll() { jsResponse<CategoriesCollection, Categories> response = new jsResponse<CategoriesCollection, Categories>(); try { CategoriesCollection collection = new CategoriesCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }