/// <summary> /// 创建新的 TB_Stu_Other 对象。 /// </summary> /// <param name="otherId">OtherId 属性的初始值。</param> /// <param name="otherTitle">OtherTitle 属性的初始值。</param> /// <param name="createDate">CreateDate 属性的初始值。</param> /// <param name="modifyDate">ModifyDate 属性的初始值。</param> /// <param name="userId">UserId 属性的初始值。</param> public static TB_Stu_Other CreateTB_Stu_Other(global::System.Int32 otherId, global::System.String otherTitle, global::System.DateTime createDate, global::System.DateTime modifyDate, global::System.Int32 userId) { TB_Stu_Other tB_Stu_Other = new TB_Stu_Other(); tB_Stu_Other.OtherId = otherId; tB_Stu_Other.OtherTitle = otherTitle; tB_Stu_Other.CreateDate = createDate; tB_Stu_Other.ModifyDate = modifyDate; tB_Stu_Other.UserId = userId; return tB_Stu_Other; }
/// <summary> /// 用于向 TB_Stu_Other EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_Stu_Other(TB_Stu_Other tB_Stu_Other) { base.AddObject("TB_Stu_Other", tB_Stu_Other); }