Beispiel #1
0
        public void AddSystemFactionTracking(IEICSystemFaction systemFaction)
        {
            var sprocConfig = new StoredProcedureConfig
            {
                ProcedureName = "add_systemfactiontracking",
                Parameters =
                {
                    ["@sysName"] = systemFaction.System.Name,
                    ["@sysTraffic"] = systemFaction.System.Traffic,
                    ["@sysPopulation"] = systemFaction.System.Population,
                    ["@sysGovernment"] = systemFaction.System.Government,
                    ["@sysSecurity"] = systemFaction.System.Security,
                    ["@sysPower"] = systemFaction.System.Power,
                    ["@facName"] = systemFaction.Faction.Name,
                    ["@facAllegiance"] = systemFaction.Faction.Allegiance,
                    ["@facInfluence"] = systemFaction.Influence,
                    ["@facCurrentState"] = systemFaction.CurrentState,
                    ["@facPendingState"] = systemFaction.PendingState,
                    ["@facRecoverState"] = systemFaction.RecoveringState,
                    ["@controllingFaction"] = false,
                    ["@updatedBy"] = systemFaction.UpdatedBy
                }
            };

            _dataAdapter.ExecuteNonQueryProcedure(sprocConfig);
        }
 public void UpdateSystemFactionInfo(IEICSystemFaction systemFaction)
 {
     using (var mySqlAdapter = EICDataFactory.GetDataAdapter(DataAdapterType.MySql))
     {
         mySqlAdapter.AddSystemFactionTracking(systemFaction);
     }
 }
Beispiel #3
0
 public void AddSystemFactionTracking(IEICSystemFaction systemFaction)
 {
     throw new System.NotImplementedException();
 }