Example #1
0
 /// <summary>
 /// Create a new ServiceItemMapping object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 /// <param name="childId">Initial value of the ChildId property.</param>
 public static ServiceItemMapping CreateServiceItemMapping(global::System.Int32 id, global::System.Int32 parentId, global::System.Int32 childId)
 {
     ServiceItemMapping serviceItemMapping = new ServiceItemMapping();
     serviceItemMapping.Id = id;
     serviceItemMapping.ParentId = parentId;
     serviceItemMapping.ChildId = childId;
     return serviceItemMapping;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ServiceItemMappingSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServiceItemMappingSet(ServiceItemMapping serviceItemMapping)
 {
     base.AddObject("ServiceItemMappingSet", serviceItemMapping);
 }