private bool FilterMaterial(Material entity) { return (entity.WordUpRootID == this.ID); }
private void DetachMaterial(Material entity) { entity.WordUpRoot = null; }
/// <summary> /// Deprecated Method for adding a new object to the Material EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMaterial(Material material) { base.AddObject("Material", material); }
private void AttachMaterial(Material entity) { entity.WordUpRoot = this; }
/// <summary> /// Create a new Material object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Material CreateMaterial(global::System.Guid id) { Material material = new Material(); material.ID = id; return material; }