public OrdersCollectionProxyStub Orders_QueryForCollection(string serializedQuery) { OrdersQuery query = OrdersQuery.SerializeHelper.FromXml( serializedQuery, typeof(OrdersQuery), AllKnownTypes) as OrdersQuery; OrdersCollection coll = new OrdersCollection(); if (coll.Load(query)) { return coll; } return null; }
public OrdersCollectionProxyStub Orders_LoadAll() { OrdersCollection coll = new OrdersCollection(); if (coll.LoadAll()) { return coll; } return null; }
public OrdersCollection Orders_LoadByDynamic(string serializedQuery) { OrdersQuery query = OrdersQuery.SerializeHelper.FromXml( serializedQuery, typeof(OrdersQuery), AllKnownTypes) as OrdersQuery; OrdersCollection coll = new OrdersCollection(); coll.es.IsLazyLoadDisabled = true; coll.Load(query); return coll; }
public OrdersCollection Orders_LoadAll() { OrdersCollection coll = new OrdersCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public jsResponse<OrdersCollection, Orders> OrdersCollection_Save(OrdersCollection collection) { jsResponse<OrdersCollection, Orders> response = new jsResponse<OrdersCollection, Orders>(); try { collection.Save(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }
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; }