/// <summary> /// Deprecated Method for adding a new object to the stores EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTostores(store store) { base.AddObject("stores", store); }
/// <summary> /// Create a new store object. /// </summary> /// <param name="store_id">Initial value of the store_id property.</param> /// <param name="manager_staff_id">Initial value of the manager_staff_id property.</param> /// <param name="address_id">Initial value of the address_id property.</param> /// <param name="last_update">Initial value of the last_update property.</param> public static store Createstore(global::System.Byte store_id, global::System.Byte manager_staff_id, global::System.Int32 address_id, global::System.DateTime last_update) { store store = new store(); store.store_id = store_id; store.manager_staff_id = manager_staff_id; store.address_id = address_id; store.last_update = last_update; return store; }