/// <summary> /// Deprecated Method for adding a new object to the CustomerBrandExclusion EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerBrandExclusion(CustomerBrandExclusion customerBrandExclusion) { base.AddObject("CustomerBrandExclusion", customerBrandExclusion); }
/// <summary> /// Create a new CustomerBrandExclusion object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="iDCustomer">Initial value of the IDCustomer property.</param> /// <param name="iDBrandAxe">Initial value of the IDBrandAxe property.</param> /// <param name="excluded">Initial value of the Excluded property.</param> public static CustomerBrandExclusion CreateCustomerBrandExclusion(global::System.Guid id, global::System.Guid iDCustomer, global::System.Guid iDBrandAxe, global::System.Boolean excluded) { CustomerBrandExclusion customerBrandExclusion = new CustomerBrandExclusion(); customerBrandExclusion.ID = id; customerBrandExclusion.IDCustomer = iDCustomer; customerBrandExclusion.IDBrandAxe = iDBrandAxe; customerBrandExclusion.Excluded = excluded; return customerBrandExclusion; }