Exemplo n.º 1
0
        public SqlTable(ITableInfo tableInfo, JoinSemantics joinSemantics)
            : base(tableInfo.ItemType, joinSemantics)
        {
            ArgumentUtility.CheckNotNull("tableInfo", tableInfo);

            _tableInfo = tableInfo;
        }
Exemplo n.º 2
0
    protected SqlTableBase (Type itemType, JoinSemantics joinSemantics)
    {
      ArgumentUtility.CheckNotNull ("itemType", itemType);

      _itemType = itemType;
      _joinSemantics = joinSemantics;
    }
Exemplo n.º 3
0
        protected SqlTableBase(Type itemType, JoinSemantics joinSemantics)
        {
            ArgumentUtility.CheckNotNull("itemType", itemType);

            _itemType      = itemType;
            _joinSemantics = joinSemantics;
        }
Exemplo n.º 4
0
 public SqlTable (ITableInfo tableInfo, JoinSemantics joinSemantics)
     : base (tableInfo.ItemType, joinSemantics)
 {
   ArgumentUtility.CheckNotNull ("tableInfo", tableInfo);
   
   _tableInfo = tableInfo;
 }
Exemplo n.º 5
0
        public SqlJoinedTable(IJoinInfo joinInfo, JoinSemantics joinSemantics)
            : base(joinInfo.ItemType, joinSemantics)
        {
            ArgumentUtility.CheckNotNull("joinInfo", joinInfo);
            ArgumentUtility.CheckNotNull("joinSemantics", joinSemantics);

            _joinInfo = joinInfo;
        }
Exemplo n.º 6
0
    public SqlJoinedTable (IJoinInfo joinInfo, JoinSemantics joinSemantics)
        : base (joinInfo.ItemType, joinSemantics)
    {
      ArgumentUtility.CheckNotNull ("joinInfo", joinInfo);
      ArgumentUtility.CheckNotNull ("joinSemantics", joinSemantics);

      _joinInfo = joinInfo;
    }
Exemplo n.º 7
0
        public static SqlTable CreateSqlTable_WithResolvedTableInfo(
            string tableName,
            string tableAlias,
            JoinSemantics joinSemantics = JoinSemantics.Inner)
        {
            var resolvedTableInfo = new ResolvedSimpleTableInfo(typeof(string), tableName, tableAlias);
            var sqlTable          = new SqlTable(resolvedTableInfo, joinSemantics);

            return(sqlTable);
        }
 public OtherSqlTable (Type itemType, JoinSemantics joinSemantics)
     : base(itemType, joinSemantics)
 {
 }
Exemplo n.º 9
0
 public override string ToString()
 {
     return(JoinSemantics.ToString().ToUpper() + " JOIN " + JoinInfo + JoinedTables.Aggregate("", (s, t) => s + " " + t));
 }
 public static SqlTable CreateSqlTable_WithResolvedTableInfo (
     string tableName,
     string tableAlias,
     JoinSemantics joinSemantics = JoinSemantics.Inner)
 {
   var resolvedTableInfo = new ResolvedSimpleTableInfo (typeof (string), tableName, tableAlias);
   var sqlTable = new SqlTable (resolvedTableInfo, joinSemantics);
   return sqlTable;
 }
Exemplo n.º 11
0
 public OtherSqlTable(Type itemType, JoinSemantics joinSemantics)
     : base(itemType, joinSemantics)
 {
 }