public CustomerCustomerDemoCollectionProxyStub CustomerCustomerDemo_QueryForCollection(string serializedQuery)
		{
			CustomerCustomerDemoQuery query = CustomerCustomerDemoQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(CustomerCustomerDemoQuery), AllKnownTypes) as CustomerCustomerDemoQuery;

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

			return null;
		}
		public CustomerCustomerDemoCollectionProxyStub CustomerCustomerDemo_LoadAll()
		{
			CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection();
			if (coll.LoadAll())
			{
				return coll;
			}

			return null;
		}		
		public CustomerCustomerDemoCollection CustomerCustomerDemo_LoadByDynamic(string serializedQuery)
		{
			CustomerCustomerDemoQuery query = CustomerCustomerDemoQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(CustomerCustomerDemoQuery), AllKnownTypes) as CustomerCustomerDemoQuery;

			CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.Load(query);
			return coll;
		}
		public CustomerCustomerDemoCollection CustomerCustomerDemo_LoadAll()
		{
			CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.LoadAll();
			return coll;
		}
		public jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo> CustomerCustomerDemoCollection_Save(CustomerCustomerDemoCollection collection)
		{
			jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo> response = new jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo>();

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

			return response;
		}
		public jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo> CustomerCustomerDemoCollection_LoadAll()
		{
			jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo> response = new jsResponse<CustomerCustomerDemoCollection, CustomerCustomerDemo>();

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

			return response;
		}