/// <summary> /// 创建新的 ViewMemberInfo 对象。 /// </summary> /// <param name="memberID">MemberID 属性的初始值。</param> /// <param name="memberName">MemberName 属性的初始值。</param> /// <param name="email">Email 属性的初始值。</param> public static ViewMemberInfo CreateViewMemberInfo(global::System.Guid memberID, global::System.String memberName, global::System.String email) { ViewMemberInfo viewMemberInfo = new ViewMemberInfo(); viewMemberInfo.MemberID = memberID; viewMemberInfo.MemberName = memberName; viewMemberInfo.Email = email; return viewMemberInfo; }
/// <summary> /// 用于向 ViewMemberInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToViewMemberInfo(ViewMemberInfo viewMemberInfo) { base.AddObject("ViewMemberInfo", viewMemberInfo); }