Exemplo n.º 1
0
        public CustomerDemographicsCollection CustomerDemographics_LoadAll()
        {
            CustomerDemographicsCollection coll = new CustomerDemographicsCollection();

            coll.es.IsLazyLoadDisabled = true;
            coll.LoadAll();
            return(coll);
        }
        public CustomerDemographicsCollectionProxyStub CustomerDemographics_SaveCollection(CustomerDemographicsCollectionProxyStub collection)
        {
            if (collection != null)
            {
                CustomerDemographicsCollection c = collection.GetCollection();
                c.Save();
                return(c);
            }

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

            if (coll.LoadAll())
            {
                return(coll);
            }

            return(null);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        public CustomerDemographicsCollection.CustomerDemographicsCollectionWCFPacket CustomerDemographics_LoadAll()
        {
            CustomerDemographicsCollection coll = new CustomerDemographicsCollection();

            if (coll.LoadAll())
            {
                return(coll);
            }

            return(null);
        }
        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);
        }