コード例 #1
0
ファイル: Reference.cs プロジェクト: hardstylle/MvcTables
 public static Shipper CreateShipper(int shipperID, string companyName)
 {
     Shipper shipper = new Shipper();
     shipper.ShipperID = shipperID;
     shipper.CompanyName = companyName;
     return shipper;
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: hardstylle/MvcTables
 public void AddToShippers(Shipper shipper)
 {
     base.AddObject("Shippers", shipper);
 }