/// <summary> /// 用于向 V_UserInfoDetail EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToV_UserInfoDetail(V_UserInfoDetail v_UserInfoDetail) { base.AddObject("V_UserInfoDetail", v_UserInfoDetail); }
/// <summary> /// 创建新的 V_UserInfoDetail 对象。 /// </summary> /// <param name="gradeName">GradeName 属性的初始值。</param> /// <param name="gradeLevel">GradeLevel 属性的初始值。</param> /// <param name="id">Id 属性的初始值。</param> /// <param name="name">Name 属性的初始值。</param> /// <param name="email">Email 属性的初始值。</param> /// <param name="gender">Gender 属性的初始值。</param> /// <param name="birthday">Birthday 属性的初始值。</param> /// <param name="photo">Photo 属性的初始值。</param> /// <param name="createTime">CreateTime 属性的初始值。</param> /// <param name="gradeId">GradeId 属性的初始值。</param> public static V_UserInfoDetail CreateV_UserInfoDetail(global::System.String gradeName, global::System.Int16 gradeLevel, global::System.Int32 id, global::System.String name, global::System.String email, global::System.Boolean gender, global::System.DateTime birthday, global::System.String photo, global::System.DateTime createTime, global::System.Int16 gradeId) { V_UserInfoDetail v_UserInfoDetail = new V_UserInfoDetail(); v_UserInfoDetail.GradeName = gradeName; v_UserInfoDetail.GradeLevel = gradeLevel; v_UserInfoDetail.Id = id; v_UserInfoDetail.Name = name; v_UserInfoDetail.Email = email; v_UserInfoDetail.Gender = gender; v_UserInfoDetail.Birthday = birthday; v_UserInfoDetail.Photo = photo; v_UserInfoDetail.CreateTime = createTime; v_UserInfoDetail.GradeId = gradeId; return v_UserInfoDetail; }