コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventLocals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventLocals(EventLocal eventLocal)
 {
     base.AddObject("EventLocals", eventLocal);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EventLocal object.
 /// </summary>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="localId">Initial value of the LocalId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 public static EventLocal CreateEventLocal(global::System.Int32 eventId, global::System.Int32 localId, global::System.String name, global::System.String body)
 {
     EventLocal eventLocal = new EventLocal();
     eventLocal.EventId = eventId;
     eventLocal.LocalId = localId;
     eventLocal.Name = name;
     eventLocal.Body = body;
     return eventLocal;
 }