public RegionCollection Region_LoadAll() { RegionCollection coll = new RegionCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public RegionCollectionProxyStub Region_LoadAll() { RegionCollection coll = new RegionCollection(); if (coll.LoadAll()) { return coll; } return null; }
public jsResponse<RegionCollection, Region> RegionCollection_LoadAll() { jsResponse<RegionCollection, Region> response = new jsResponse<RegionCollection, Region>(); try { RegionCollection collection = new RegionCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }