public SuppliersCollection Suppliers_LoadAll() { SuppliersCollection coll = new SuppliersCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public SuppliersCollectionProxyStub Suppliers_LoadAll() { SuppliersCollection coll = new SuppliersCollection(); if (coll.LoadAll()) { return coll; } return null; }
public jsResponse<SuppliersCollection, Suppliers> SuppliersCollection_LoadAll() { jsResponse<SuppliersCollection, Suppliers> response = new jsResponse<SuppliersCollection, Suppliers>(); try { SuppliersCollection collection = new SuppliersCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }