Exemplo n.º 1
0
 /// <summary>
 /// Create a new Store object.
 /// </summary>
 /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Store CreateStore(global::System.Int32 businessEntityID, global::System.String name, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     Store store = new Store();
     store.BusinessEntityID = businessEntityID;
     store.Name = name;
     store.rowguid = rowguid;
     store.ModifiedDate = modifiedDate;
     return store;
 }
Exemplo 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);
 }