コード例 #1
0
		public static ShipperType GetShipperTypesForInsert()
		{
			ShipperType shipperType = new ShipperType();

			shipperType.Name = "Trains";

			return shipperType;
		}
コード例 #2
0
		private static Shipper GetPlanesRUsShipper(ShipperType planesType)
		{
			return GetShipper("Planes R Us", "555-PLANES", planesType.Id);
		}
コード例 #3
0
		private static Shipper GetWeDoEverythingShipper(ShipperType planesType)
		{
			return GetShipper("We do everything!", "555-UNICORNS", planesType.Id);
		}
コード例 #4
0
		private static Shipper GetTrainsRUsShipper(ShipperType trainsType)
		{
			return GetShipper("Trains R Us", "555-TRAINS", trainsType.Id);
		}