예제 #1
0
 public void Add(ReferenceInfo info)
 {
     foreach (var kv in info._referenceMap)
     {
         if (!_referenceMap.ContainsKey(kv.Key))
         {
             _referenceMap.Add(kv.Key, kv.Value);
         }
     }
 }
예제 #2
0
 protected override ExpressionResolver CreateExpressionResolver(ReferenceInfo reference, ExpressionResolver.ExpressionResolveOption option)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 protected override ExpressionResolver CreateInstance(DataAccessObjectBase dao, ReferenceInfo reference, ExpressionResolveOption option)
 {
     return(new OracleExpressionResolver((OracleDao)dao, reference, option));
 }
예제 #4
0
 public OracleExpressionResolver(OracleDao dao, ReferenceInfo reference, ExpressionResolveOption option) : base(dao, reference, option)
 {
 }
예제 #5
0
        //public override string GetServerTime()
        //{
        //    return "SYSDATE";
        //}

        protected override ExpressionResolver CreateExpressionResolver(ReferenceInfo reference, ExpressionResolver.ExpressionResolveOption option)
        {
            return(new OracleExpressionResolver(this, reference, option));
        }
예제 #6
0
 public ReferenceInfo(ReferenceInfo other)
 {
     _referenceMap = new Dictionary <string, ReferenceStruct>(other._referenceMap, StringComparer.OrdinalIgnoreCase);
 }