/// <summary> /// Deprecated Method for adding a new object to the ListTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToListTypes(ListType listType) { base.AddObject("ListTypes", listType); }
/// <summary> /// Create a new ListType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> public static ListType CreateListType(global::System.Guid id, global::System.String name) { ListType listType = new ListType(); listType.ID = id; listType.Name = name; return listType; }