public CustomersCollectionProxyStub Customers_QueryForCollection(string serializedQuery) { CustomersQuery query = CustomersQuery.SerializeHelper.FromXml( serializedQuery, typeof(CustomersQuery), AllKnownTypes) as CustomersQuery; CustomersCollection coll = new CustomersCollection(); if (coll.Load(query)) { return coll; } return null; }
public CustomersCollectionProxyStub Customers_LoadAll() { CustomersCollection coll = new CustomersCollection(); if (coll.LoadAll()) { return coll; } return null; }
public CustomersCollection Customers_LoadByDynamic(string serializedQuery) { CustomersQuery query = CustomersQuery.SerializeHelper.FromXml( serializedQuery, typeof(CustomersQuery), AllKnownTypes) as CustomersQuery; CustomersCollection coll = new CustomersCollection(); coll.es.IsLazyLoadDisabled = true; coll.Load(query); return coll; }
public CustomersCollection Customers_LoadAll() { CustomersCollection coll = new CustomersCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public jsResponse<CustomersCollection, Customers> CustomersCollection_Save(CustomersCollection collection) { jsResponse<CustomersCollection, Customers> response = new jsResponse<CustomersCollection, Customers>(); try { collection.Save(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }
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; }