Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfileAttributes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfileAttributes(ProfileAttribute profileAttribute)
 {
     base.AddObject("ProfileAttributes", profileAttribute);
 }
Ejemplo n.º 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;
 }