public int Shippers_GetCount(string serializedQuery) { ShippersQuery query = ShippersQuery.SerializeHelper.FromXml( serializedQuery, typeof(ShippersQuery), AllKnownTypes) as ShippersQuery; return(query.ExecuteScalar <int>()); }
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); }
public ShippersProxyStub Shippers_QueryForEntity(string serializedQuery) { ShippersQuery query = ShippersQuery.SerializeHelper.FromXml( serializedQuery, typeof(ShippersQuery), AllKnownTypes) as ShippersQuery; Shippers obj = new Shippers(); if (obj.Load(query)) { return(obj); } 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); }