/// <summary> /// Deprecated Method for adding a new object to the TestsPeriods EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestsPeriods(TestsPeriod testsPeriod) { base.AddObject("TestsPeriods", testsPeriod); }
/// <summary> /// Create a new TestsPeriod object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="begin">Initial value of the Begin property.</param> /// <param name="end">Initial value of the End property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="sessionTypeId">Initial value of the SessionTypeId property.</param> public static TestsPeriod CreateTestsPeriod(global::System.Int32 id, global::System.String begin, global::System.String end, global::System.Int32 groupId, global::System.Int32 sessionTypeId) { TestsPeriod testsPeriod = new TestsPeriod(); testsPeriod.Id = id; testsPeriod.Begin = begin; testsPeriod.End = end; testsPeriod.GroupId = groupId; testsPeriod.SessionTypeId = sessionTypeId; return testsPeriod; }