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