public CustomersCollection Customers_LoadAll() { CustomersCollection coll = new CustomersCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public CustomersCollectionProxyStub Customers_LoadAll() { CustomersCollection coll = new CustomersCollection(); if (coll.LoadAll()) { return coll; } return null; }
public jsResponse<CustomersCollection, Customers> CustomersCollection_LoadAll() { jsResponse<CustomersCollection, Customers> response = new jsResponse<CustomersCollection, Customers>(); try { CustomersCollection collection = new CustomersCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }