/// <summary> /// Create a new role object. /// </summary> /// <param name="roleID">Initial value of the RoleID property.</param> /// <param name="peopleID">Initial value of the PeopleID property.</param> /// <param name="roleTypeID">Initial value of the RoleTypeID property.</param> /// <param name="roleActive">Initial value of the roleActive property.</param> /// <param name="recCreationDate">Initial value of the recCreationDate property.</param> public static role Createrole(global::System.Int32 roleID, global::System.Int32 peopleID, global::System.Int32 roleTypeID, global::System.Boolean roleActive, global::System.DateTime recCreationDate) { role role = new role(); role.RoleID = roleID; role.PeopleID = peopleID; role.RoleTypeID = roleTypeID; role.roleActive = roleActive; role.recCreationDate = recCreationDate; return role; }
/// <summary> /// Deprecated Method for adding a new object to the roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToroles(role role) { base.AddObject("roles", role); }