コード例 #1
0
ファイル: ModelDB.Designer.cs プロジェクト: A-59/TowerDefence
 /// <summary>
 /// Deprecated Method for adding a new object to the Maps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaps(Map map)
 {
     base.AddObject("Maps", map);
 }
コード例 #2
0
ファイル: ModelDB.Designer.cs プロジェクト: A-59/TowerDefence
 /// <summary>
 /// Create a new Map object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 /// <param name="model">Initial value of the Model property.</param>
 /// <param name="texture">Initial value of the Texture property.</param>
 /// <param name="mapBlocksId">Initial value of the MapBlocksId property.</param>
 /// <param name="pathId">Initial value of the PathId property.</param>
 /// <param name="widht">Initial value of the Widht property.</param>
 /// <param name="height">Initial value of the Height property.</param>
 /// <param name="pointOnBlock">Initial value of the PointOnBlock property.</param>
 public static Map CreateMap(global::System.Int32 id, global::System.String name, global::System.String comment, global::System.String model, global::System.String texture, global::System.Int32 mapBlocksId, global::System.Int32 pathId, global::System.Int32 widht, global::System.Int32 height, global::System.Int32 pointOnBlock)
 {
     Map map = new Map();
     map.Id = id;
     map.Name = name;
     map.Comment = comment;
     map.Model = model;
     map.Texture = texture;
     map.MapBlocksId = mapBlocksId;
     map.PathId = pathId;
     map.Widht = widht;
     map.Height = height;
     map.PointOnBlock = pointOnBlock;
     return map;
 }