Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 WaybillGoods 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="waybillCode">WaybillCode 属性的初始值。</param>
 /// <param name="goods">Goods 属性的初始值。</param>
 /// <param name="number">Number 属性的初始值。</param>
 /// <param name="volume">Volume 属性的初始值。</param>
 /// <param name="weight">Weight 属性的初始值。</param>
 /// <param name="realWeight">RealWeight 属性的初始值。</param>
 /// <param name="arbitariec">Arbitariec 属性的初始值。</param>
 /// <param name="dispatchFee">DispatchFee 属性的初始值。</param>
 /// <param name="valid">Valid 属性的初始值。</param>
 public static WaybillGoods CreateWaybillGoods(global::System.Int32 id, global::System.String waybillCode, global::System.String goods, global::System.Int32 number, global::System.Decimal volume, global::System.Decimal weight, global::System.Decimal realWeight, global::System.Decimal arbitariec, global::System.Decimal dispatchFee, global::System.Boolean valid)
 {
     WaybillGoods waybillGoods = new WaybillGoods();
     waybillGoods.ID = id;
     waybillGoods.WaybillCode = waybillCode;
     waybillGoods.Goods = goods;
     waybillGoods.Number = number;
     waybillGoods.Volume = volume;
     waybillGoods.Weight = weight;
     waybillGoods.RealWeight = realWeight;
     waybillGoods.Arbitariec = arbitariec;
     waybillGoods.DispatchFee = dispatchFee;
     waybillGoods.Valid = valid;
     return waybillGoods;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 WaybillGoods EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToWaybillGoods(WaybillGoods waybillGoods)
 {
     base.AddObject("WaybillGoods", waybillGoods);
 }