Пример #1
0
 /// <summary>
 /// Create a new MemberEvent object.
 /// </summary>
 /// <param name="memberID">Initial value of the MemberID property.</param>
 /// <param name="eventID">Initial value of the EventID property.</param>
 /// <param name="accepted">Initial value of the Accepted property.</param>
 public static MemberEvent CreateMemberEvent(global::System.Int32 memberID, global::System.Int32 eventID, global::System.DateTime accepted)
 {
     MemberEvent memberEvent = new MemberEvent();
     memberEvent.MemberID = memberID;
     memberEvent.EventID = eventID;
     memberEvent.Accepted = accepted;
     return memberEvent;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MemberEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMemberEvents(MemberEvent memberEvent)
 {
     base.AddObject("MemberEvents", memberEvent);
 }