Ejemplo n.º 1
0
        public StringBuilder BuildCreateTableColumns(IObjectMapInfo map)
        {
            map.ThrowIfNullArgument(nameof(map));

            _map = map;
            _str = new StringBuilder();
            BuildCreateTableColumns();
            return(_str);
        }
Ejemplo n.º 2
0
        public StringBuilder BuildCreateTableColumns(IObjectMapInfo map)
        {
            map.ThrowIfNullArgument(nameof(map));

            _map = map;
            _str = new StringBuilder();
            BuildCreateTableColumns();
            return _str;
        }
 public string Translate(Expression expression, IObjectMapInfo mapInfo)
 {
     mapInfo.ThrowIfNullArgument(nameof(mapInfo));
     expression.ThrowIfNullArgument(nameof(expression));
     _map = mapInfo;
     _str = new StringBuilder();
     this.Visit(expression);
     return(_str.ToString());
 }
 public virtual string Translate(Expression expression, IObjectMapInfo map)
 {
     expression.ThrowIfNullArgument(nameof(expression));
     map.ThrowIfNullArgument(nameof(map));
     _map = map;
     this._str = new StringBuilder();
     this.Visit(expression);
     if (this._str.BracketedBy(StringPair.Parenthesis))
         this._str.UnBracketing(StringPair.Parenthesis);
     return this._str.ToString();
 }
 public virtual string Translate(Expression expression, IObjectMapInfo map)
 {
     expression.ThrowIfNullArgument(nameof(expression));
     map.ThrowIfNullArgument(nameof(map));
     _map      = map;
     this._str = new StringBuilder();
     this.Visit(expression);
     if (this._str.BracketedBy(StringPair.Parenthesis))
     {
         this._str.UnBracketing(StringPair.Parenthesis);
     }
     return(this._str.ToString());
 }