/// <summary> /// Create a new Office_Bureau object. /// </summary> /// <param name="bureauID">Initial value of the BureauID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="officeID">Initial value of the OfficeID property.</param> /// <param name="officeCode">Initial value of the OfficeCode property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> /// <param name="visibleFlag">Initial value of the VisibleFlag property.</param> public static Office_Bureau CreateOffice_Bureau(global::System.Int32 bureauID, global::System.String name, global::System.Int32 officeID, global::System.String officeCode, global::System.DateTime modifiedDate, global::System.Boolean visibleFlag) { Office_Bureau office_Bureau = new Office_Bureau(); office_Bureau.BureauID = bureauID; office_Bureau.Name = name; office_Bureau.OfficeID = officeID; office_Bureau.OfficeCode = officeCode; office_Bureau.ModifiedDate = modifiedDate; office_Bureau.VisibleFlag = visibleFlag; return(office_Bureau); }
/// <summary> /// Deprecated Method for adding a new object to the Office_Bureau EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOffice_Bureau(Office_Bureau office_Bureau) { base.AddObject("Office_Bureau", office_Bureau); }