/// <summary> /// Create a new SalesOrganization object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> public static SalesOrganization CreateSalesOrganization(global::System.Guid id, global::System.String name, global::System.String code, global::System.Boolean deleted) { SalesOrganization salesOrganization = new SalesOrganization(); salesOrganization.ID = id; salesOrganization.Name = name; salesOrganization.Code = code; salesOrganization.Deleted = deleted; return salesOrganization; }
/// <summary> /// Deprecated Method for adding a new object to the SalesOrganization EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesOrganization(SalesOrganization salesOrganization) { base.AddObject("SalesOrganization", salesOrganization); }