Exemplo n.º 1
0
 /// <summary>
 /// 用于向 Deliveryss EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDeliveryss(Deliverys deliverys)
 {
     base.AddObject("Deliveryss", deliverys);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 Deliverys 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="dDate">DDate 属性的初始值。</param>
 /// <param name="type">Type 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 /// <param name="createdAt">CreatedAt 属性的初始值。</param>
 /// <param name="modifiedAt">ModifiedAt 属性的初始值。</param>
 /// <param name="amount">Amount 属性的初始值。</param>
 public static Deliverys CreateDeliverys(global::System.Int32 id, global::System.DateTime dDate, global::System.Int32 type, global::System.Int32 userId, global::System.DateTime createdAt, global::System.DateTime modifiedAt, global::System.Int32 amount)
 {
     Deliverys deliverys = new Deliverys();
     deliverys.Id = id;
     deliverys.DDate = dDate;
     deliverys.Type = type;
     deliverys.UserId = userId;
     deliverys.CreatedAt = createdAt;
     deliverys.ModifiedAt = modifiedAt;
     deliverys.Amount = amount;
     return deliverys;
 }