/// <summary> /// Deprecated Method for adding a new object to the ProfileAttributeTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileAttributeTypes(ProfileAttributeType profileAttributeType) { base.AddObject("ProfileAttributeTypes", profileAttributeType); }
/// <summary> /// Create a new ProfileAttributeType object. /// </summary> /// <param name="attributeId">Initial value of the AttributeId property.</param> /// <param name="attributeName">Initial value of the AttributeName property.</param> /// <param name="classId">Initial value of the ClassId property.</param> public static ProfileAttributeType CreateProfileAttributeType(global::System.Guid attributeId, global::System.String attributeName, global::System.Guid classId) { ProfileAttributeType profileAttributeType = new ProfileAttributeType(); profileAttributeType.AttributeId = attributeId; profileAttributeType.AttributeName = attributeName; profileAttributeType.ClassId = classId; return profileAttributeType; }