示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AttributeTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAttributeTypes(AttributeType attributeType)
 {
     base.AddObject("AttributeTypes", attributeType);
 }
示例#2
0
 /// <summary>
 /// Create a new AttributeType object.
 /// </summary>
 /// <param name="type">Initial value of the Type property.</param>
 public static AttributeType CreateAttributeType(global::System.String type)
 {
     AttributeType attributeType = new AttributeType();
     attributeType.Type = type;
     return attributeType;
 }