Пример #1
0
 /// <summary>
 /// Create a new FundingResourceTimePeriod object.
 /// </summary>
 /// <param name="fundingResourceId">Initial value of the FundingResourceId property.</param>
 /// <param name="timePeriodId">Initial value of the TimePeriodId property.</param>
 public static FundingResourceTimePeriod CreateFundingResourceTimePeriod(global::System.Int32 fundingResourceId, global::System.Int32 timePeriodId)
 {
     FundingResourceTimePeriod fundingResourceTimePeriod = new FundingResourceTimePeriod();
     fundingResourceTimePeriod.FundingResourceId = fundingResourceId;
     fundingResourceTimePeriod.TimePeriodId = timePeriodId;
     return fundingResourceTimePeriod;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FundingResourceTimePeriods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFundingResourceTimePeriods(FundingResourceTimePeriod fundingResourceTimePeriod)
 {
     base.AddObject("FundingResourceTimePeriods", fundingResourceTimePeriod);
 }