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