/// <summary> /// Deprecated Method for adding a new object to the ProfileProperties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileProperties(ProfileProperty profileProperty) { base.AddObject("ProfileProperties", profileProperty); }
/// <summary> /// Create a new ProfileProperty object. /// </summary> /// <param name="profilePropertyID">Initial value of the ProfilePropertyID property.</param> /// <param name="profilePropertyName">Initial value of the ProfilePropertyName property.</param> /// <param name="profilePropertyType">Initial value of the ProfilePropertyType property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> public static ProfileProperty CreateProfileProperty(global::System.Int32 profilePropertyID, global::System.String profilePropertyName, global::System.String profilePropertyType, global::System.DateTime dateCreated) { ProfileProperty profileProperty = new ProfileProperty(); profileProperty.ProfilePropertyID = profilePropertyID; profileProperty.ProfilePropertyName = profilePropertyName; profileProperty.ProfilePropertyType = profilePropertyType; profileProperty.DateCreated = dateCreated; return profileProperty; }