コード例 #1
0
ファイル: TopU.Designer.cs プロジェクト: LuoSven/EM
 /// <summary>
 /// 创建新的 TB_Stu_Education 对象。
 /// </summary>
 /// <param name="eduId">EduId 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
 /// <param name="languageType">LanguageType 属性的初始值。</param>
 /// <param name="isEntranceExamination">IsEntranceExamination 属性的初始值。</param>
 public static TB_Stu_Education CreateTB_Stu_Education(global::System.Int32 eduId, global::System.Int32 userId, global::System.DateTime createDate, global::System.DateTime modifyDate, global::System.Int32 languageType, global::System.Boolean isEntranceExamination)
 {
     TB_Stu_Education tB_Stu_Education = new TB_Stu_Education();
     tB_Stu_Education.EduId = eduId;
     tB_Stu_Education.UserId = userId;
     tB_Stu_Education.CreateDate = createDate;
     tB_Stu_Education.ModifyDate = modifyDate;
     tB_Stu_Education.LanguageType = languageType;
     tB_Stu_Education.IsEntranceExamination = isEntranceExamination;
     return tB_Stu_Education;
 }
コード例 #2
0
ファイル: TopU.Designer.cs プロジェクト: LuoSven/EM
 /// <summary>
 /// 用于向 TB_Stu_Education EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Stu_Education(TB_Stu_Education tB_Stu_Education)
 {
     base.AddObject("TB_Stu_Education", tB_Stu_Education);
 }