public OrdersCollection Orders_LoadAll() { OrdersCollection coll = new OrdersCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public OrdersCollectionProxyStub Orders_LoadAll() { OrdersCollection coll = new OrdersCollection(); if (coll.LoadAll()) { return coll; } return null; }
public jsResponse<OrdersCollection, Orders> OrdersCollection_LoadAll() { jsResponse<OrdersCollection, Orders> response = new jsResponse<OrdersCollection, Orders>(); try { OrdersCollection collection = new OrdersCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }