/// <summary> /// Deprecated Method for adding a new object to the UserProfession EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserProfession(UserProfession userProfession) { base.AddObject("UserProfession", userProfession); }
/// <summary> /// Create a new UserProfession object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static UserProfession CreateUserProfession(global::System.Int16 id) { UserProfession userProfession = new UserProfession(); userProfession.Id = id; return userProfession; }