public SuppliersCollectionProxyStub Suppliers_QueryForCollection(string serializedQuery)
		{
			SuppliersQuery query = SuppliersQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(SuppliersQuery), AllKnownTypes) as SuppliersQuery;

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

			return null;
		}
		public SuppliersCollectionProxyStub Suppliers_LoadAll()
		{
			SuppliersCollection coll = new SuppliersCollection();
			if (coll.LoadAll())
			{
				return coll;
			}

			return null;
		}		
		public SuppliersCollection Suppliers_LoadByDynamic(string serializedQuery)
		{
			SuppliersQuery query = SuppliersQuery.SerializeHelper.FromXml(
				serializedQuery, typeof(SuppliersQuery), AllKnownTypes) as SuppliersQuery;

			SuppliersCollection coll = new SuppliersCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.Load(query);
			return coll;
		}
		public SuppliersCollection Suppliers_LoadAll()
		{
			SuppliersCollection coll = new SuppliersCollection();
			coll.es.IsLazyLoadDisabled = true;
			coll.LoadAll();
			return coll;
		}
		public jsResponse<SuppliersCollection, Suppliers> SuppliersCollection_Save(SuppliersCollection collection)
		{
			jsResponse<SuppliersCollection, Suppliers> response = new jsResponse<SuppliersCollection, Suppliers>();

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

			return response;
		}
		public jsResponse<SuppliersCollection, Suppliers> SuppliersCollection_LoadAll()
		{
			jsResponse<SuppliersCollection, Suppliers> response = new jsResponse<SuppliersCollection, Suppliers>();

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

			return response;
		}