/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the MaterialTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMaterialTypes(MaterialType materialType) { base.AddObject("MaterialTypes", materialType); }
private bool FilterMaterialType(MaterialType entity) { return (entity.MaterialTypeID == this.MaterialTypeID); }