Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Instrumentations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstrumentations(Instrumentation instrumentation)
 {
     base.AddObject("Instrumentations", instrumentation);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Instrumentation object.
 /// </summary>
 /// <param name="instrumentationID">Initial value of the InstrumentationID property.</param>
 /// <param name="eventType">Initial value of the EventType property.</param>
 /// <param name="eventDetail">Initial value of the EventDetail property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static Instrumentation CreateInstrumentation(global::System.Int32 instrumentationID, global::System.String eventType, global::System.String eventDetail, global::System.DateTime dateCreated)
 {
     Instrumentation instrumentation = new Instrumentation();
     instrumentation.InstrumentationID = instrumentationID;
     instrumentation.EventType = eventType;
     instrumentation.EventDetail = eventDetail;
     instrumentation.DateCreated = dateCreated;
     return instrumentation;
 }