private ScenarioTile CreateScenarioTile(Panzer_ScenarioTile panzer_ScenarioTile) { ScenarioTile scenarioTile = new ScenarioTile() { ScenarioTileId = panzer_ScenarioTile.ScenarioTileId, ColumnNumber = panzer_ScenarioTile.ColumnNumber, DeployIndicator = panzer_ScenarioTile.DeployTileInd, NationId = panzer_ScenarioTile.NationId, RowNumber = panzer_ScenarioTile.RowNumber, ScenarioId = panzer_ScenarioTile.ScenarioId, SideId = panzer_ScenarioTile.SideId, SupplyIndicator = panzer_ScenarioTile.SupplyTileInd, TerrainId = panzer_ScenarioTile.TerrainId, TileNameId = panzer_ScenarioTile.TileNameId, VictoryIndicator = panzer_ScenarioTile.VictoryTileInd }; return scenarioTile; }
/// <summary> /// Create a new Panzer_ScenarioTile object. /// </summary> /// <param name="scenarioTileId">Initial value of the ScenarioTileId property.</param> /// <param name="scenarioId">Initial value of the ScenarioId property.</param> /// <param name="columnNumber">Initial value of the ColumnNumber property.</param> /// <param name="rowNumber">Initial value of the RowNumber property.</param> /// <param name="terrainId">Initial value of the TerrainId property.</param> /// <param name="tileNameId">Initial value of the TileNameId property.</param> /// <param name="nationId">Initial value of the NationId property.</param> /// <param name="sideId">Initial value of the SideId property.</param> /// <param name="roadConnectivityInd">Initial value of the RoadConnectivityInd property.</param> /// <param name="deployTileInd">Initial value of the DeployTileInd property.</param> /// <param name="supplyTileInd">Initial value of the SupplyTileInd property.</param> /// <param name="victoryTileInd">Initial value of the VictoryTileInd property.</param> public static Panzer_ScenarioTile CreatePanzer_ScenarioTile(global::System.Int32 scenarioTileId, global::System.Int32 scenarioId, global::System.Int32 columnNumber, global::System.Int32 rowNumber, global::System.Int32 terrainId, global::System.Int32 tileNameId, global::System.Int32 nationId, global::System.Int32 sideId, global::System.Boolean roadConnectivityInd, global::System.Boolean deployTileInd, global::System.Boolean supplyTileInd, global::System.Boolean victoryTileInd) { Panzer_ScenarioTile panzer_ScenarioTile = new Panzer_ScenarioTile(); panzer_ScenarioTile.ScenarioTileId = scenarioTileId; panzer_ScenarioTile.ScenarioId = scenarioId; panzer_ScenarioTile.ColumnNumber = columnNumber; panzer_ScenarioTile.RowNumber = rowNumber; panzer_ScenarioTile.TerrainId = terrainId; panzer_ScenarioTile.TileNameId = tileNameId; panzer_ScenarioTile.NationId = nationId; panzer_ScenarioTile.SideId = sideId; panzer_ScenarioTile.RoadConnectivityInd = roadConnectivityInd; panzer_ScenarioTile.DeployTileInd = deployTileInd; panzer_ScenarioTile.SupplyTileInd = supplyTileInd; panzer_ScenarioTile.VictoryTileInd = victoryTileInd; return panzer_ScenarioTile; }
/// <summary> /// Deprecated Method for adding a new object to the Panzer_ScenarioTile EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPanzer_ScenarioTile(Panzer_ScenarioTile panzer_ScenarioTile) { base.AddObject("Panzer_ScenarioTile", panzer_ScenarioTile); }