/// <summary> /// Create a new Affectation object. /// </summary> /// <param name="affectationID">Initial value of the AffectationID property.</param> /// <param name="roleID">Initial value of the RoleID property.</param> /// <param name="debutAffectation">Initial value of the DebutAffectation property.</param> /// <param name="employeurID">Initial value of the EmployeurID property.</param> /// <param name="contactID">Initial value of the ContactID property.</param> /// <param name="dateInsert">Initial value of the DateInsert property.</param> /// <param name="auteurInsert">Initial value of the AuteurInsert property.</param> /// <param name="dateUpdate">Initial value of the DateUpdate property.</param> /// <param name="auteurUpdate">Initial value of the AuteurUpdate property.</param> public static Affectation CreateAffectation(global::System.Int32 affectationID, global::System.Int32 roleID, global::System.DateTime debutAffectation, global::System.Int32 employeurID, global::System.Int32 contactID, global::System.DateTime dateInsert, global::System.Int32 auteurInsert, global::System.DateTime dateUpdate, global::System.Int32 auteurUpdate) { Affectation affectation = new Affectation(); affectation.AffectationID = affectationID; affectation.RoleID = roleID; affectation.DebutAffectation = debutAffectation; affectation.EmployeurID = employeurID; affectation.ContactID = contactID; affectation.DateInsert = dateInsert; affectation.AuteurInsert = auteurInsert; affectation.DateUpdate = dateUpdate; affectation.AuteurUpdate = auteurUpdate; return(affectation); }
/// <summary> /// Deprecated Method for adding a new object to the Affectation EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAffectation(Affectation affectation) { base.AddObject("Affectation", affectation); }