コード例 #1
0
ファイル: SaleMgn.Designer.cs プロジェクト: kietfriends/QLBH
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerShippings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerShippings(CustomerShipping customerShipping)
 {
     base.AddObject("CustomerShippings", customerShipping);
 }
コード例 #2
0
ファイル: SaleMgn.Designer.cs プロジェクト: kietfriends/QLBH
 /// <summary>
 /// Create a new CustomerShipping object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="cityId">Initial value of the CityId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 public static CustomerShipping CreateCustomerShipping(global::System.Int32 id, global::System.Int32 customerId, global::System.String address, global::System.Int32 cityId, global::System.Int32 status, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedDate)
 {
     CustomerShipping customerShipping = new CustomerShipping();
     customerShipping.Id = id;
     customerShipping.CustomerId = customerId;
     customerShipping.Address = address;
     customerShipping.CityId = cityId;
     customerShipping.Status = status;
     customerShipping.LastModifiedBy = lastModifiedBy;
     customerShipping.LastModifiedDate = lastModifiedDate;
     return customerShipping;
 }