/// <summary> /// Create a new ServiceItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sentence">Initial value of the Sentence property.</param> /// <param name="entryTypeId">Initial value of the EntryTypeId property.</param> public static ServiceItem CreateServiceItem(global::System.Int32 id, global::System.String sentence, global::System.Int32 entryTypeId) { ServiceItem serviceItem = new ServiceItem(); serviceItem.Id = id; serviceItem.Sentence = sentence; serviceItem.EntryTypeId = entryTypeId; return serviceItem; }
/// <summary> /// Deprecated Method for adding a new object to the ServiceItemSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServiceItemSet(ServiceItem serviceItem) { base.AddObject("ServiceItemSet", serviceItem); }