Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ListTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToListTypes(ListType listType)
 {
     base.AddObject("ListTypes", listType);
 }
Example #2
0
 /// <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;
 }