示例#1
0
 /// <summary>
 /// 用于向 aspnet_WebEvent_Events EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToaspnet_WebEvent_Events(aspnet_WebEvent_Events aspnet_WebEvent_Events)
 {
     base.AddObject("aspnet_WebEvent_Events", aspnet_WebEvent_Events);
 }
示例#2
0
 /// <summary>
 /// 创建新的 aspnet_WebEvent_Events 对象。
 /// </summary>
 /// <param name="eventId">EventId 属性的初始值。</param>
 /// <param name="eventTimeUtc">EventTimeUtc 属性的初始值。</param>
 /// <param name="eventTime">EventTime 属性的初始值。</param>
 /// <param name="eventType">EventType 属性的初始值。</param>
 /// <param name="eventSequence">EventSequence 属性的初始值。</param>
 /// <param name="eventOccurrence">EventOccurrence 属性的初始值。</param>
 /// <param name="eventCode">EventCode 属性的初始值。</param>
 /// <param name="eventDetailCode">EventDetailCode 属性的初始值。</param>
 /// <param name="machineName">MachineName 属性的初始值。</param>
 public static aspnet_WebEvent_Events Createaspnet_WebEvent_Events(global::System.String eventId, global::System.DateTime eventTimeUtc, global::System.DateTime eventTime, global::System.String eventType, global::System.Decimal eventSequence, global::System.Decimal eventOccurrence, global::System.Int32 eventCode, global::System.Int32 eventDetailCode, global::System.String machineName)
 {
     aspnet_WebEvent_Events aspnet_WebEvent_Events = new aspnet_WebEvent_Events();
     aspnet_WebEvent_Events.EventId = eventId;
     aspnet_WebEvent_Events.EventTimeUtc = eventTimeUtc;
     aspnet_WebEvent_Events.EventTime = eventTime;
     aspnet_WebEvent_Events.EventType = eventType;
     aspnet_WebEvent_Events.EventSequence = eventSequence;
     aspnet_WebEvent_Events.EventOccurrence = eventOccurrence;
     aspnet_WebEvent_Events.EventCode = eventCode;
     aspnet_WebEvent_Events.EventDetailCode = eventDetailCode;
     aspnet_WebEvent_Events.MachineName = machineName;
     return aspnet_WebEvent_Events;
 }