コード例 #1
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);
 }
コード例 #2
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;
 }