Exemplo n.º 1
0
 /// <summary>
 /// Create a new FundingResource object.
 /// </summary>
 /// <param name="fundingResourceID">Initial value of the FundingResourceID property.</param>
 /// <param name="fundingTypeID">Initial value of the FundingTypeID property.</param>
 /// <param name="programID">Initial value of the ProgramID property.</param>
 /// <param name="fundPeriodID">Initial value of the FundPeriodID property.</param>
 public static FundingResource CreateFundingResource(global::System.Int32 fundingResourceID, global::System.Int32 fundingTypeID, global::System.Int32 programID, global::System.Int16 fundPeriodID)
 {
     FundingResource fundingResource = new FundingResource();
     fundingResource.FundingResourceID = fundingResourceID;
     fundingResource.FundingTypeID = fundingTypeID;
     fundingResource.ProgramID = programID;
     fundingResource.FundPeriodID = fundPeriodID;
     return fundingResource;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FundingResources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFundingResources(FundingResource fundingResource)
 {
     base.AddObject("FundingResources", fundingResource);
 }