public CustomerDemographicsCollectionProxyStub CustomerDemographics_QueryForCollection(string serializedQuery)
		{
			CustomerDemographicsQuery query = CustomerDemographicsQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(CustomerDemographicsQuery), AllKnownTypes) as CustomerDemographicsQuery;

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

			return null;
		}
		public CustomerDemographicsCollectionProxyStub CustomerDemographics_LoadAll()
		{
			CustomerDemographicsCollection coll = new CustomerDemographicsCollection();
			if (coll.LoadAll())
			{
				return coll;
			}

			return null;
		}		
		public CustomerDemographicsCollection CustomerDemographics_LoadByDynamic(string serializedQuery)
		{
			CustomerDemographicsQuery query = CustomerDemographicsQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(CustomerDemographicsQuery), AllKnownTypes) as CustomerDemographicsQuery;

			CustomerDemographicsCollection coll = new CustomerDemographicsCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.Load(query);
			return coll;
		}
		public CustomerDemographicsCollection CustomerDemographics_LoadAll()
		{
			CustomerDemographicsCollection coll = new CustomerDemographicsCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.LoadAll();
			return coll;
		}
		public jsResponse<CustomerDemographicsCollection, CustomerDemographics> CustomerDemographicsCollection_Save(CustomerDemographicsCollection collection)
		{
			jsResponse<CustomerDemographicsCollection, CustomerDemographics> response = new jsResponse<CustomerDemographicsCollection, CustomerDemographics>();

			try
			{
				collection.Save();
				response.collection = collection;
			}
			catch (Exception ex)
			{
				response.exception = ex.Message;
			}

			return response;
		}
		public jsResponse<CustomerDemographicsCollection, CustomerDemographics> CustomerDemographicsCollection_LoadAll()
		{
			jsResponse<CustomerDemographicsCollection, CustomerDemographics> response = new jsResponse<CustomerDemographicsCollection, CustomerDemographics>();

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

			return response;
		}