示例#1
0
 public IEnumerable <Faction> EnumererFactions(MyDB.CodeSql ClauseWhere, MyDB.CodeSql ClauseOrderBy)
 {
     if (ClauseWhere == null)
     {
         ClauseWhere = MyDB.CodeSql.Vide;
     }
     if (ClauseOrderBy == null)
     {
         ClauseOrderBy = MyDB.CodeSql.Vide;
     }
     return(Faction.Enumerer(m_BD, m_BD.Enumerer("SELECT * FROM {0} {1} {2}", c_NomTable_Faction, ClauseWhere, ClauseOrderBy)));
 }
示例#2
0
 public IEnumerable <Utilisateur> EnumererUtilisateurs(MyDB.CodeSql ClauseWhere, MyDB.CodeSql ClauseOrderBy)
 {
     if (ClauseWhere == null)
     {
         ClauseWhere = MyDB.CodeSql.Vide;
     }
     if (ClauseOrderBy == null)
     {
         ClauseOrderBy = MyDB.CodeSql.Vide;
     }
     return(Utilisateur.Enumerer(m_BD, m_BD.Enumerer("SELECT * FROM {0} {1} {2}", c_NomTable_Utilisateur, ClauseWhere, ClauseOrderBy)));
 }
示例#3
0
 public IEnumerable <SubSub> EnumererSubSub(MyDB.CodeSql ValeurSouhaitee, MyDB.CodeSql ClauseJoin, MyDB.CodeSql ClauseWhere, MyDB.CodeSql ClauseOrderBy)
 {
     if (ClauseWhere == null)
     {
         ClauseWhere = MyDB.CodeSql.Vide;
     }
     if (ClauseOrderBy == null)
     {
         ClauseOrderBy = MyDB.CodeSql.Vide;
     }
     if (ClauseJoin == null)
     {
         ClauseJoin = MyDB.CodeSql.Vide;
     }
     if (ValeurSouhaitee == null)
     {
         ValeurSouhaitee = new MyDB.CodeSql("*");
     }
     return(SubSub.Enumerer(m_BD, m_BD.Enumerer("SELECT {0} FROM {1} {2} {3} {4}", ValeurSouhaitee, c_NomTable_SubSub, ClauseJoin, ClauseWhere, ClauseOrderBy)));
 }
示例#4
0
 public IEnumerable <CharactRank> EnumererPersonnage(MyDB.CodeSql ValeurSouhaitee, MyDB.CodeSql ClauseJoin, MyDB.CodeSql ClauseWhere, MyDB.CodeSql ClauseOrderBy)
 {
     if (ClauseWhere == null)
     {
         ClauseWhere = MyDB.CodeSql.Vide;
     }
     if (ClauseOrderBy == null)
     {
         ClauseOrderBy = MyDB.CodeSql.Vide;
     }
     if (ClauseJoin == null)
     {
         ClauseJoin = MyDB.CodeSql.Vide;
     }
     if (ValeurSouhaitee == null)
     {
         ValeurSouhaitee = new MyDB.CodeSql("*");
     }
     return(CharactRank.Enumerer(m_BD, m_BD.Enumerer("SELECT {0} FROM {1} {2} {3} {4}", ValeurSouhaitee, c_NomTable_CharactRank, ClauseJoin, ClauseWhere, ClauseOrderBy)));
 }
示例#5
0
 public IEnumerable <ArmyUnityFigurine> EnumererArmyUnityFigurineStuff(MyDB.CodeSql ValeurSouhaitee, MyDB.CodeSql ClauseJoin, MyDB.CodeSql ClauseWhere, MyDB.CodeSql ClauseOrderBy)
 {
     if (ClauseWhere == null)
     {
         ClauseWhere = MyDB.CodeSql.Vide;
     }
     if (ClauseOrderBy == null)
     {
         ClauseOrderBy = MyDB.CodeSql.Vide;
     }
     if (ClauseJoin == null)
     {
         ClauseJoin = MyDB.CodeSql.Vide;
     }
     if (ValeurSouhaitee == null)
     {
         ValeurSouhaitee = new MyDB.CodeSql("*");
     }
     return(ArmyUnityFigurine.Enumerer(m_BD, m_BD.Enumerer("SELECT {0} FROM  {1} {2} {3} {4}", ValeurSouhaitee, c_NomTable_ArmyUnityFigurineStuff, ClauseJoin, ClauseWhere, ClauseOrderBy)));
 }