Пример #1
0
 private ComparisonRewriter(QueryMapping mapping)
 {
     this.mapping = mapping;
 }
Пример #2
0
 public static Expression Rewrite(QueryMapping mapping, Expression expression)
 {
     return new ComparisonRewriter(mapping).Visit(expression);
 }
Пример #3
0
 public SqlQueryProvider(SqlConnection connection, QueryMapping mapping, QueryPolicy policy)
     : base(connection, TSqlLanguage.Default, mapping, policy)
 {
 }
Пример #4
0
 public override DbEntityProvider New(DbConnection connection, QueryMapping mapping, QueryPolicy policy)
 {
     return new SqlQueryProvider((SqlConnection)connection, mapping, policy);
 }
Пример #5
0
 public OleDbQueryProvider(OleDbConnection connection, QueryLanguage language, QueryMapping mapping, QueryPolicy policy)
     : base(connection, language, mapping, policy)
 {
 }
		public QueryTranslator(QueryMapping mapping, EntityPolicy policy)
		{
			this.Mapper = mapping.CreateMapper(this);
			this.Police = policy.CreatePolice(this);
		}
Пример #7
0
 public AccessQueryProvider(OleDbConnection connection, QueryMapping mapping, QueryPolicy policy)
     : base(connection, AccessLanguage.Default, mapping, policy)
 {
 }
Пример #8
0
 public QueryTranslator(QueryLanguage language, QueryMapping mapping, QueryPolicy policy)
 {
     this.linguist = language.CreateLinguist(this);
     this.mapper = mapping.CreateMapper(this);
     this.police = policy.CreatePolice(this);
 }
Пример #9
0
 public DeveelDbProvider(IQuery context, QueryMapping mapping, QueryPolicy policy)
     : base(new DeveelDbLanguage(), mapping, policy)
 {
     this.context = context;
 }
 public OracleQueryProvider(DbConnection connection, QueryMapping mapping, QueryPolicy policy)
     : base(connection, mapping, policy)
 {
 }
Пример #11
0
 private RelationshipBinder(QueryMapper mapper)
 {
     this.mapper = mapper;
     this.mapping = mapper.Mapping;
     this.language = mapper.Translator.Linguist.Language;
 }
Пример #12
0
 public SQLiteQueryProvider(SQLiteConnection connection, QueryMapping mapping, QueryPolicy policy)
     : base(connection, SQLiteLanguage.Default, mapping, policy)
 {
 }
Пример #13
0
 private DbRelationshipBinder(QueryMapper mapper)
 {
     this.mapper   = mapper;
     this.mapping  = mapper.Mapping;
     this.language = mapper.Translator.Linguist.Language;
 }
		private RelationshipBinder(QueryMapper mapper)
		{
			this.mapper = mapper;
			this.mapping = mapper.Mapping;
		}
 //bool? allowMulitpleActiveResultSets;
 public OracleEntityProvider(DbConnection connection, QueryMapping mapping, QueryPolicy policy)
     : base(connection, PLSqlLanguage.Default, mapping, policy)
 {
 }