Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfileAttribute EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfileAttribute(ProfileAttribute profileAttribute)
 {
     base.AddObject("ProfileAttribute", profileAttribute);
 }
Example #2
0
 /// <summary>
 /// Create a new ProfileAttribute object.
 /// </summary>
 /// <param name="attributeId">Initial value of the AttributeId property.</param>
 /// <param name="profileId">Initial value of the ProfileId property.</param>
 /// <param name="attributeValue">Initial value of the AttributeValue property.</param>
 public static ProfileAttribute CreateProfileAttribute(global::System.Guid attributeId, global::System.Int32 profileId, global::System.String attributeValue)
 {
     ProfileAttribute profileAttribute = new ProfileAttribute();
     profileAttribute.AttributeId = attributeId;
     profileAttribute.ProfileId = profileId;
     profileAttribute.AttributeValue = attributeValue;
     return profileAttribute;
 }