コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobInfoes(JobInfo jobInfo)
 {
     base.AddObject("JobInfoes", jobInfo);
 }
コード例 #2
0
 /// <summary>
 /// Create a new JobInfo object.
 /// </summary>
 /// <param name="jobInfoID">Initial value of the JobInfoID property.</param>
 /// <param name="nameKey">Initial value of the NameKey property.</param>
 /// <param name="jobID">Initial value of the JobID property.</param>
 public static JobInfo CreateJobInfo(global::System.Int32 jobInfoID, global::System.String nameKey, global::System.Int32 jobID)
 {
     JobInfo jobInfo = new JobInfo();
     jobInfo.JobInfoID = jobInfoID;
     jobInfo.NameKey = nameKey;
     jobInfo.JobID = jobID;
     return jobInfo;
 }
コード例 #3
0
ファイル: Brentwood.cs プロジェクト: TCarmack/Brentwood
 /// <summary>
 /// Adds a piece of information to a job. - Jack
 /// </summary>
 /// <param name="item">The information object to add.</param>
 /// <returns></returns>
 public static int AddJobInfo(JobInfo item)
 {
     return (new Entities()).JobInfo_Insert(item.NameKey, item.DataValue, item.JobID);
 }