Пример #1
0
 /// <summary>
 /// Create a new Store object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="lastRequisitionNo">Initial value of the LastRequisitionNo property.</param>
 /// <param name="lastSaleNo">Initial value of the LastSaleNo property.</param>
 public static Store CreateStore(global::System.Int32 id, global::System.String name, global::System.Int32 lastRequisitionNo, global::System.Int32 lastSaleNo)
 {
     Store store = new Store();
     store.Id = id;
     store.Name = name;
     store.LastRequisitionNo = lastRequisitionNo;
     store.LastSaleNo = lastSaleNo;
     return store;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Stores EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStores(Store store)
 {
     base.AddObject("Stores", store);
 }