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