/// <summary> /// Deprecated Method for adding a new object to the bvc_Promotions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_Promotions(bvc_Promotions bvc_Promotions) { base.AddObject("bvc_Promotions", bvc_Promotions); }
/// <summary> /// Create a new bvc_Promotions object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="mode">Initial value of the Mode property.</param> /// <param name="lastUpdatedUtc">Initial value of the LastUpdatedUtc property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="customerDescription">Initial value of the CustomerDescription property.</param> /// <param name="startDateUtc">Initial value of the StartDateUtc property.</param> /// <param name="endDateUtc">Initial value of the EndDateUtc property.</param> /// <param name="isEnabled">Initial value of the IsEnabled property.</param> /// <param name="qualificationsXml">Initial value of the QualificationsXml property.</param> /// <param name="actionsXml">Initial value of the ActionsXml property.</param> public static bvc_Promotions Createbvc_Promotions(global::System.Int64 id, global::System.Int64 storeId, global::System.Int32 mode, global::System.DateTime lastUpdatedUtc, global::System.String name, global::System.String customerDescription, global::System.DateTime startDateUtc, global::System.DateTime endDateUtc, global::System.Boolean isEnabled, global::System.String qualificationsXml, global::System.String actionsXml) { bvc_Promotions bvc_Promotions = new bvc_Promotions(); bvc_Promotions.Id = id; bvc_Promotions.StoreId = storeId; bvc_Promotions.Mode = mode; bvc_Promotions.LastUpdatedUtc = lastUpdatedUtc; bvc_Promotions.Name = name; bvc_Promotions.CustomerDescription = customerDescription; bvc_Promotions.StartDateUtc = startDateUtc; bvc_Promotions.EndDateUtc = endDateUtc; bvc_Promotions.IsEnabled = isEnabled; bvc_Promotions.QualificationsXml = qualificationsXml; bvc_Promotions.ActionsXml = actionsXml; return bvc_Promotions; }