Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueryPolice"/> class.
 /// </summary>
 /// <param name="policy">The policy.</param>
 /// <param name="translator">The translator.</param>
 public QueryPolice(QueryPolicy policy, QueryTranslator translator)
 {
     this.policy = policy;
     this.translator = translator;
 }
 /// <summary>
 /// Creates the mapper.
 /// </summary>
 /// <param name="translator">The translator.</param>
 /// <returns></returns>
 public abstract QueryMapper CreateMapper(QueryTranslator translator);
 public MySqlLinguist(MySqlLanguage language, QueryTranslator translator)
     : base(language, translator)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 通过查询翻译器创建一个查询Police。
 /// </summary>
 /// <param name="translator">The translator.</param>
 /// <returns></returns>
 public virtual QueryPolice CreatePolice(QueryTranslator translator)
 {
     return new QueryPolice(this, translator);
 }
 public AccessLinguist(AccessLanguage language, QueryTranslator translator)
     : base(language, translator)
 {
 }
 /// <summary>
 /// Creates the linguist.
 /// </summary>
 /// <param name="translator">The translator.</param>
 /// <returns></returns>
 public override QueryLinguist CreateLinguist(QueryTranslator translator)
 {
     return new MySqlLinguist(this, translator);
 }
 /// <summary>
 /// 实例化新的一个 <see cref="QueryLinguist"/> 类对象。
 /// </summary>
 /// <param name="language">The language.</param>
 /// <param name="translator">The translator.</param>
 public QueryLinguist(QueryLanguage language, QueryTranslator translator)
 {
     this.language = language;
     this.translator = translator;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SQLiteLinguist"/> class.
 /// </summary>
 /// <param name="language">The language.</param>
 /// <param name="translator">The translator.</param>
 public SQLiteLinguist(SQLiteLanguage language, QueryTranslator translator)
     : base(language, translator)
 {
 }
 /// <summary> 
 /// 通过指定的语言翻译器创建查询语言。
 /// </summary>
 /// <param name="translator">The translator.</param>
 /// <returns></returns>
 public virtual QueryLinguist CreateLinguist(QueryTranslator translator)
 {
     return new QueryLinguist(this, translator);
 }
 public AdvancedMapper(AdvancedMapping mapping, QueryTranslator translator)
     : base(mapping, translator)
 {
     this.mapping = mapping;
 }
 public override QueryMapper CreateMapper(QueryTranslator translator)
 {
     return new AdvancedMapper(this, translator);
 }
Ejemplo n.º 12
0
 public BasicMapper(BasicMapping mapping, QueryTranslator translator)
 {
     this.mapping = mapping;
     this.translator = translator;
 }
Ejemplo n.º 13
0
 public override QueryMapper CreateMapper(QueryTranslator translator)
 {
     return new BasicMapper(this, translator);
 }