示例#1
0
 /// <summary>
 /// 创建新的 College_Question 对象。
 /// </summary>
 /// <param name="questionId">QuestionId 属性的初始值。</param>
 /// <param name="collegeId">CollegeId 属性的初始值。</param>
 /// <param name="title">Title 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="createBy">CreateBy 属性的初始值。</param>
 public static College_Question CreateCollege_Question(global::System.Int32 questionId, global::System.Int32 collegeId, global::System.String title, global::System.DateTime createDate, global::System.Int32 createBy)
 {
     College_Question college_Question = new College_Question();
     college_Question.QuestionId = questionId;
     college_Question.CollegeId = collegeId;
     college_Question.Title = title;
     college_Question.CreateDate = createDate;
     college_Question.CreateBy = createBy;
     return college_Question;
 }
示例#2
0
 /// <summary>
 /// 用于向 College_Question EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToCollege_Question(College_Question college_Question)
 {
     base.AddObject("College_Question", college_Question);
 }