コード例 #1
0
        public ShippersCollection Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

            coll.es.IsLazyLoadDisabled = true;
            coll.LoadAll();
            return(coll);
        }
コード例 #2
0
        public ShippersCollectionProxyStub Shippers_SaveCollection(ShippersCollectionProxyStub collection)
        {
            if (collection != null)
            {
                ShippersCollection c = collection.GetCollection();
                c.Save();
                return(c);
            }

            return(null);
        }
コード例 #3
0
        public ShippersCollectionProxyStub Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

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

            return(null);
        }
コード例 #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);
        }
コード例 #5
0
        public ShippersCollection.ShippersCollectionWCFPacket Shippers_LoadAll()
        {
            ShippersCollection coll = new ShippersCollection();

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

            return(null);
        }
コード例 #6
0
        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);
        }