Ejemplo n.º 1
0
 private bool FilterMaterial(Material entity)
 {
     return (entity.WordUpRootID == this.ID);
 }
Ejemplo n.º 2
0
 private void DetachMaterial(Material entity)
 {
     entity.WordUpRoot = null;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Material EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaterial(Material material)
 {
     base.AddObject("Material", material);
 }
Ejemplo n.º 4
0
 private void AttachMaterial(Material entity)
 {
     entity.WordUpRoot = this;
 }
Ejemplo n.º 5
0
 /// <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;
 }