コード例 #1
0
 /// <summary>
 /// Create a new EventTypes object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="dateStart">Initial value of the DateStart property.</param>
 /// <param name="dateEnd">Initial value of the DateEnd property.</param>
 /// <param name="rss">Initial value of the Rss property.</param>
 /// <param name="parserType">Initial value of the ParserType property.</param>
 public static EventTypes CreateEventTypes(global::System.Int32 id, global::System.String name, global::System.DateTime dateStart, global::System.DateTime dateEnd, global::System.String rss, global::System.String parserType)
 {
     EventTypes eventTypes = new EventTypes();
     eventTypes.ID = id;
     eventTypes.Name = name;
     eventTypes.DateStart = dateStart;
     eventTypes.DateEnd = dateEnd;
     eventTypes.Rss = rss;
     eventTypes.ParserType = parserType;
     return eventTypes;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventTypes(EventTypes eventTypes)
 {
     base.AddObject("EventTypes", eventTypes);
 }