Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectPool EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectPool(ProjectPool projectPool)
 {
     base.AddObject("ProjectPool", projectPool);
 }
Пример #2
0
 /// <summary>
 /// Create a new ProjectPool object.
 /// </summary>
 /// <param name="projectPoolID">Initial value of the ProjectPoolID property.</param>
 /// <param name="programID">Initial value of the ProgramID property.</param>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 /// <param name="poolName">Initial value of the PoolName property.</param>
 public static ProjectPool CreateProjectPool(global::System.Int32 projectPoolID, global::System.Int32 programID, global::System.Int16 timePeriodID, global::System.String poolName)
 {
     ProjectPool projectPool = new ProjectPool();
     projectPool.ProjectPoolID = projectPoolID;
     projectPool.ProgramID = programID;
     projectPool.TimePeriodID = timePeriodID;
     projectPool.PoolName = poolName;
     return projectPool;
 }