/// <summary> /// Create a new ServiceItemEntryType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="caption">Initial value of the Caption property.</param> public static ServiceItemEntryType CreateServiceItemEntryType(global::System.Int32 id, global::System.String caption) { ServiceItemEntryType serviceItemEntryType = new ServiceItemEntryType(); serviceItemEntryType.Id = id; serviceItemEntryType.Caption = caption; return serviceItemEntryType; }
/// <summary> /// Deprecated Method for adding a new object to the ServiceItemEntryTypeSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServiceItemEntryTypeSet(ServiceItemEntryType serviceItemEntryType) { base.AddObject("ServiceItemEntryTypeSet", serviceItemEntryType); }