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 CategoriesCollection Categories_LoadByDynamic(string serializedQuery) { CategoriesQuery query = CategoriesQuery.SerializeHelper.FromXml( serializedQuery, typeof(CategoriesQuery), AllKnownTypes) as CategoriesQuery; CategoriesCollection coll = new CategoriesCollection(); coll.es.IsLazyLoadDisabled = true; coll.Load(query); return coll; }
public CategoriesCollectionProxyStub Categories_QueryForCollection(string serializedQuery) { CategoriesQuery query = CategoriesQuery.SerializeHelper.FromXml( serializedQuery, typeof(CategoriesQuery), AllKnownTypes) as CategoriesQuery; CategoriesCollection coll = new CategoriesCollection(); if (coll.Load(query)) { return coll; } return null; }
public jsResponse<CategoriesCollection, Categories> CategoriesCollection_Save(CategoriesCollection collection) { jsResponse<CategoriesCollection, Categories> response = new jsResponse<CategoriesCollection, Categories>(); try { collection.Save(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }
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; }