public TerritoriesCollectionProxyStub Territories_QueryForCollection(string serializedQuery)
		{
			TerritoriesQuery query = TerritoriesQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(TerritoriesQuery), AllKnownTypes) as TerritoriesQuery;

			TerritoriesCollection coll = new TerritoriesCollection();
			if (coll.Load(query))
			{
				return coll;
			}

			return null;
		}
		public TerritoriesCollection Territories_LoadByDynamic(string serializedQuery)
		{
			TerritoriesQuery query = TerritoriesQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(TerritoriesQuery), AllKnownTypes) as TerritoriesQuery;

			TerritoriesCollection coll = new TerritoriesCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.Load(query);
			return coll;
		}