コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: pskofod/hobby_git
 /// <summary>
 /// Create a new Part object.
 /// </summary>
 /// <param name="toolId">Initial value of the ToolId property.</param>
 /// <param name="partNo">Initial value of the PartNo property.</param>
 /// <param name="partID">Initial value of the PartID property.</param>
 public static Part CreatePart(global::System.Int32 toolId, global::System.Int32 partNo, global::System.Int32 partID)
 {
     Part part = new Part();
     part.ToolId = toolId;
     part.PartNo = partNo;
     part.PartID = partID;
     return part;
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: pskofod/hobby_git
 /// <summary>
 /// Deprecated Method for adding a new object to the Part EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPart(Part part)
 {
     base.AddObject("Part", part);
 }