Beispiel #1
0
        ///<summary>
        ///根据ID得到相应的实体类对象
        ///生成时间:2010-9-12 14:33:48
        ///</summary>
        public Betaccountlog GetBetaccountlogByPK(object id)
        {
            MySqlParameter[] param = new MySqlParameter[] {
                new MySqlParameter("?id", id)
            };

            return(MySqlModelHelper2 <Betaccountlog> .GetSingleObjectBySql(SQL_SELECTBYPK, param));
        }
Beispiel #2
0
        ///<summary>
        ///根据ID得到相应的实体类对象
        ///生成时间:2010-9-12 14:23:31
        ///</summary>
        public Casino GetCasinoByPK(object id)
        {
            MySqlParameter[] param = new MySqlParameter[] {
                new MySqlParameter("?id", id)
            };

            return(MySqlModelHelper2 <Casino> .GetSingleObjectBySql(SQL_SELECTBYPK, param));
        }
Beispiel #3
0
        ///<summary>
        ///根据ID得到相应的实体类对象
        ///生成时间:2010-9-17 20:43:02
        ///</summary>
        public Matches GetMatchesByPK(object id)
        {
            MySqlParameter[] param = new MySqlParameter[] {
                new MySqlParameter("?id", id)
            };

            return(MySqlModelHelper2 <Matches> .GetSingleObjectBySql(SQL_SELECTBYPK, param));
        }
        public IList <Betaccountmax> GetBetaccountByID(int id)
        {
            string str = SQL_SELECTALL + " where id=?id";

            MySqlParameter[] param = new MySqlParameter[] {
                new MySqlParameter("?id", id)
            };
            return(MySqlModelHelper2 <Betaccountmax> .GetObjectsBySql(str, param));
        }
Beispiel #5
0
        ///<summary>
        ///根据ID获得所有数据,返回泛型集合
        ///生成时间:2010-9-17 21:43:00
        ///</summary>
        public IList <Matches> GetMutilILMatches(int id)
        {
            string str = SQL_SELECTALL + " where id=@id";

            MySqlParameter[] param = new MySqlParameter[] {
                new MySqlParameter("@id", id)
            };
            return(MySqlModelHelper2 <Matches> .GetObjectsBySql(str, param));
        }
Beispiel #6
0
 ///<summary>
 ///获得所有数据,返回泛型集合
 ///生成时间:2010-9-12 14:23:31
 ///</summary>
 public IList <Casino> GetMutilILCasino()
 {
     return(MySqlModelHelper2 <Casino> .GetObjectsBySql(SQL_SELECTALL, null));
 }
Beispiel #7
0
 ///<summary>
 ///获得所有数据,返回泛型集合
 ///生成时间:2010-9-12 14:33:48
 ///</summary>
 public IList <Betaccountlog> GetMutilILBetaccountlog()
 {
     return(MySqlModelHelper2 <Betaccountlog> .GetObjectsBySql(SQL_SELECTALL, null));
 }
Beispiel #8
0
 ///<summary>
 ///获得所有数据,返回泛型集合
 ///生成时间:2010-9-17 20:43:02
 ///</summary>
 public IList <Matches> GetMutilILMatches()
 {
     return(MySqlModelHelper2 <Matches> .GetObjectsBySql(SQL_SELECTALL, null));
 }