Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PoiTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPoiTypes(PoiType poiType)
 {
     base.AddObject("PoiTypes", poiType);
 }
Пример #2
0
 /// <summary>
 /// Create a new PoiType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 public static PoiType CreatePoiType(global::System.Int32 id, global::System.String code)
 {
     PoiType poiType = new PoiType();
     poiType.Id = id;
     poiType.Code = code;
     return poiType;
 }