/// <summary> /// Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfiles(Profiles profiles) { base.AddObject("Profiles", profiles); }
/// <summary> /// Create a new Profiles object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="propertyNames">Initial value of the PropertyNames property.</param> /// <param name="propertyValueStrings">Initial value of the PropertyValueStrings property.</param> /// <param name="propertyValueBinary">Initial value of the PropertyValueBinary property.</param> /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param> public static Profiles CreateProfiles(global::System.Guid userId, global::System.String propertyNames, global::System.String propertyValueStrings, global::System.Byte[] propertyValueBinary, global::System.DateTime lastUpdatedDate) { Profiles profiles = new Profiles(); profiles.UserId = userId; profiles.PropertyNames = propertyNames; profiles.PropertyValueStrings = propertyValueStrings; profiles.PropertyValueBinary = propertyValueBinary; profiles.LastUpdatedDate = lastUpdatedDate; return profiles; }