Exemplo n.º 1
0
        /// <summary>
        /// Create a new UserProfileTeam object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="teamId">Initial value of the TeamId property.</param>
        /// <param name="userProfileId">Initial value of the UserProfileId property.</param>
        /// <param name="isTeamAdministrator">Initial value of the IsTeamAdministrator property.</param>
        public static UserProfileTeam CreateUserProfileTeam(global::System.Int32 id, global::System.Int32 teamId, global::System.Int32 userProfileId, global::System.Boolean isTeamAdministrator)
        {
            UserProfileTeam userProfileTeam = new UserProfileTeam();

            userProfileTeam.Id                  = id;
            userProfileTeam.TeamId              = teamId;
            userProfileTeam.UserProfileId       = userProfileId;
            userProfileTeam.IsTeamAdministrator = isTeamAdministrator;
            return(userProfileTeam);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfileTeams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfileTeams(UserProfileTeam userProfileTeam)
 {
     base.AddObject("UserProfileTeams", userProfileTeam);
 }
 /// <summary>
 /// Create a new UserProfileTeam object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="teamId">Initial value of the TeamId property.</param>
 /// <param name="userProfileId">Initial value of the UserProfileId property.</param>
 /// <param name="isTeamAdministrator">Initial value of the IsTeamAdministrator property.</param>
 public static UserProfileTeam CreateUserProfileTeam(global::System.Int32 id, global::System.Int32 teamId, global::System.Int32 userProfileId, global::System.Boolean isTeamAdministrator)
 {
     UserProfileTeam userProfileTeam = new UserProfileTeam();
     userProfileTeam.Id = id;
     userProfileTeam.TeamId = teamId;
     userProfileTeam.UserProfileId = userProfileId;
     userProfileTeam.IsTeamAdministrator = isTeamAdministrator;
     return userProfileTeam;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfileTeams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfileTeams(UserProfileTeam userProfileTeam)
 {
     base.AddObject("UserProfileTeams", userProfileTeam);
 }