コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Release EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRelease(Release release)
 {
     base.AddObject("Release", release);
 }
コード例 #2
0
ファイル: Repository.cs プロジェクト: RKishore222/TestProject
 public void CreateRelease(Release source)
 {
     context.Release.AddObject(source);
 }
コード例 #3
0
 /// <summary>
 /// Create a new Release object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static Release CreateRelease(global::System.Int32 id, global::System.String version, global::System.DateTime createdDate)
 {
     Release release = new Release();
     release.ID = id;
     release.Version = version;
     release.CreatedDate = createdDate;
     return release;
 }