Example #1
0
 /// <summary>
 /// Create a new MaterialType object.
 /// </summary>
 /// <param name="materialTypeID">Initial value of the MaterialTypeID property.</param>
 /// <param name="typeID">Initial value of the TypeID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static MaterialType CreateMaterialType(global::System.Byte materialTypeID, global::System.String typeID, global::System.String description)
 {
     MaterialType materialType = new MaterialType();
     materialType.MaterialTypeID = materialTypeID;
     materialType.TypeID = typeID;
     materialType.Description = description;
     return materialType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MaterialTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaterialTypes(MaterialType materialType)
 {
     base.AddObject("MaterialTypes", materialType);
 }
Example #3
0
 private bool FilterMaterialType(MaterialType entity)
 {
     return (entity.MaterialTypeID == this.MaterialTypeID);
 }