コード例 #1
0
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="issueId">Initial value of the IssueId property.</param>
 public static File CreateFile(global::System.Int32 id, global::System.Int32 issueId)
 {
     File file = new File();
     file.Id = id;
     file.IssueId = issueId;
     return file;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Files EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFiles(File file)
 {
     base.AddObject("Files", file);
 }