Esempio n. 1
0
        public ShippersCollection Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

            coll.es.IsLazyLoadDisabled = true;
            coll.LoadAll();
            return(coll);
        }
        public ShippersCollectionProxyStub Shippers_SaveCollection(ShippersCollectionProxyStub collection)
        {
            if (collection != null)
            {
                ShippersCollection c = collection.GetCollection();
                c.Save();
                return(c);
            }

            return(null);
        }
        public ShippersCollectionProxyStub Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

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

            return(null);
        }
Esempio n. 4
0
        public ShippersCollection Shippers_LoadByDynamic(string serializedQuery)
        {
            ShippersQuery query = ShippersQuery.SerializeHelper.FromXml(
                serializedQuery, typeof(ShippersQuery), AllKnownTypes) as ShippersQuery;

            ShippersCollection coll = new ShippersCollection();

            coll.es.IsLazyLoadDisabled = true;
            coll.Load(query);
            return(coll);
        }
Esempio n. 5
0
        public ShippersCollection.ShippersCollectionWCFPacket Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

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

            return(null);
        }
        public ShippersCollectionProxyStub Shippers_QueryForCollection(string serializedQuery)
        {
            ShippersQuery query = ShippersQuery.SerializeHelper.FromXml(
                serializedQuery, typeof(ShippersQuery), AllKnownTypes) as ShippersQuery;

            ShippersCollection coll = new ShippersCollection();

            if (coll.Load(query))
            {
                return(coll);
            }

            return(null);
        }