Пример #1
0
 /// <summary>
 /// 创建新的 TB_Stu_Personality 对象。
 /// </summary>
 /// <param name="personalityId">PersonalityId 属性的初始值。</param>
 /// <param name="personality">Personality 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 public static TB_Stu_Personality CreateTB_Stu_Personality(global::System.Int32 personalityId, global::System.Int32 personality, global::System.DateTime createDate, global::System.DateTime modifyDate, global::System.Int32 userId)
 {
     TB_Stu_Personality tB_Stu_Personality = new TB_Stu_Personality();
     tB_Stu_Personality.PersonalityId = personalityId;
     tB_Stu_Personality.Personality = personality;
     tB_Stu_Personality.CreateDate = createDate;
     tB_Stu_Personality.ModifyDate = modifyDate;
     tB_Stu_Personality.UserId = userId;
     return tB_Stu_Personality;
 }
Пример #2
0
 /// <summary>
 /// 用于向 TB_Stu_Personality EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Stu_Personality(TB_Stu_Personality tB_Stu_Personality)
 {
     base.AddObject("TB_Stu_Personality", tB_Stu_Personality);
 }