Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Store object.
 /// </summary>
 /// <param name="storeID">Initial value of the StoreID property.</param>
 /// <param name="storeName">Initial value of the StoreName property.</param>
 public static Store CreateStore(global::System.Int32 storeID, global::System.String storeName)
 {
     Store store = new Store();
     store.StoreID = storeID;
     store.StoreName = storeName;
     return store;
 }
Ejemplo n.º 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);
 }