/* *******************************************************
         *
         */
        public void AddLeague(DLeague league)
        {
            using (var cmd = new SqlCmdExt(_connectionString))
            {
                cmd.CreateCmd(@"
                    INSERT INTO League (Name)
                    VALUES (@Name)
                ");
                cmd.SetInArg("@Name", league.Name);

                cmd.ExecuteInsertUpdateDelete();
            }
        }
 public void AddLeague(DLeague league)
 {
     db.AddLeague(league);
 }
        private DLeague InstantiateLeague(SqlCmdExt cmd)
        {
            var league = new DLeague
            {
                Id = cmd.GetInt("Id"),
                Name = cmd.GetString("Name")
            };

            return league;
        }
 public void AddLeague(DLeague league)
 {
 }