public TerritoriesCollection Territories_LoadAll()
		{
			TerritoriesCollection coll = new TerritoriesCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.LoadAll();
			return coll;
		}
		public TerritoriesCollectionProxyStub Territories_LoadAll()
		{
			TerritoriesCollection coll = new TerritoriesCollection();
			if (coll.LoadAll())
			{
				return coll;
			}

			return null;
		}		
		public jsResponse<TerritoriesCollection, Territories> TerritoriesCollection_LoadAll()
		{
			jsResponse<TerritoriesCollection, Territories> response = new jsResponse<TerritoriesCollection, Territories>();

			try
			{
				TerritoriesCollection collection = new TerritoriesCollection();
				collection.LoadAll();
				response.collection = collection;
			}
			catch (Exception ex)
			{
				response.exception = ex.Message;
			}

			return response;
		}