Esempio n. 1
0
        /// <summary>
        /// Create a new UserProfiles object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        public static UserProfiles CreateUserProfiles(global::System.Int32 userId)
        {
            UserProfiles userProfiles = new UserProfiles();

            userProfiles.UserId = userId;
            return(userProfiles);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfiles(UserProfiles userProfiles)
 {
     base.AddObject("UserProfiles", userProfiles);
 }