Пример #1
0
 /// <summary>
 /// 创建新的 TB_JobFair 对象。
 /// </summary>
 /// <param name="jobFairId">JobFairId 属性的初始值。</param>
 /// <param name="jobFairName">JobFairName 属性的初始值。</param>
 /// <param name="occurDate">OccurDate 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 public static TB_JobFair CreateTB_JobFair(global::System.Int32 jobFairId, global::System.String jobFairName, global::System.DateTime occurDate, global::System.String address)
 {
     TB_JobFair tB_JobFair = new TB_JobFair();
     tB_JobFair.JobFairId = jobFairId;
     tB_JobFair.JobFairName = jobFairName;
     tB_JobFair.OccurDate = occurDate;
     tB_JobFair.Address = address;
     return tB_JobFair;
 }
Пример #2
0
 /// <summary>
 /// 用于向 TB_JobFair EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_JobFair(TB_JobFair tB_JobFair)
 {
     base.AddObject("TB_JobFair", tB_JobFair);
 }