/// <summary>
 /// Create a new ElementType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static ElementType CreateElementType(global::System.Int32 id)
 {
     ElementType elementType = new ElementType();
     elementType.Id = id;
     return elementType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ElementType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToElementType(ElementType elementType)
 {
     base.AddObject("ElementType", elementType);
 }
 private bool FilterElementType(ElementType entity)
 {
     return (entity.Id == this.ElementTypeId);
 }