public EmployeeTerritoriesCollectionProxyStub EmployeeTerritories_QueryForCollection(string serializedQuery) { EmployeeTerritoriesQuery query = EmployeeTerritoriesQuery.SerializeHelper.FromXml( serializedQuery, typeof(EmployeeTerritoriesQuery), AllKnownTypes) as EmployeeTerritoriesQuery; EmployeeTerritoriesCollection coll = new EmployeeTerritoriesCollection(); if (coll.Load(query)) { return coll; } return null; }
public EmployeeTerritoriesCollectionProxyStub EmployeeTerritories_LoadAll() { EmployeeTerritoriesCollection coll = new EmployeeTerritoriesCollection(); if (coll.LoadAll()) { return coll; } return null; }
public EmployeeTerritoriesCollection EmployeeTerritories_LoadByDynamic(string serializedQuery) { EmployeeTerritoriesQuery query = EmployeeTerritoriesQuery.SerializeHelper.FromXml( serializedQuery, typeof(EmployeeTerritoriesQuery), AllKnownTypes) as EmployeeTerritoriesQuery; EmployeeTerritoriesCollection coll = new EmployeeTerritoriesCollection(); coll.es.IsLazyLoadDisabled = true; coll.Load(query); return coll; }
public EmployeeTerritoriesCollection EmployeeTerritories_LoadAll() { EmployeeTerritoriesCollection coll = new EmployeeTerritoriesCollection(); coll.es.IsLazyLoadDisabled = true; coll.LoadAll(); return coll; }
public jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories> EmployeeTerritoriesCollection_Save(EmployeeTerritoriesCollection collection) { jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories> response = new jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories>(); try { collection.Save(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }
public jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories> EmployeeTerritoriesCollection_LoadAll() { jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories> response = new jsResponse<EmployeeTerritoriesCollection, EmployeeTerritories>(); try { EmployeeTerritoriesCollection collection = new EmployeeTerritoriesCollection(); collection.LoadAll(); response.collection = collection; } catch (Exception ex) { response.exception = ex.Message; } return response; }